Find the last two commits by:
git log -2 --format=oneline --reverse
Then run the hook by:
echo "[from-commit-id] [to-commit-id] master" | ./hooks/post-receive
Find the last two commits by:
git log -2 --format=oneline --reverse
Then run the hook by:
echo "[from-commit-id] [to-commit-id] master" | ./hooks/post-receive