osx - Git Reset --hard : file does not reflect on the server -
after executing command git reset --hard commitid , git push --force, , pushing commits on repo(staging), new commits not reflect on server.
my colleagues able see commits changes not reflect on site , when checking on file on server, file not updated.
the head looks correct based on can see sourcetree , terminal.
already tried reseting head new commit make sure still having same problem.
also tried git push origin staging , git push origin staging:staging , still having same problem.
edit
tried git log on server , noticed commits different local. of latest commits server should removed because of reset made local git has been updated.
Comments
Post a Comment