Neal Kreitzinger <nkreitzinger@xxxxxxxxx> writes: >> Have you checked where in the filesystem hierarchy that script is run >> (hint: pwd)? >> > echo pwd in post-update echoes /path/WORKTREE/.git in git-push stdout. > ... > 'git-checkout -f' works manually, but in post-update hook... Stronger hint. Did you run "git checkout -f" in /path/WORKTREE/.git to back that "works manually" claim? -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html