I'm trying to create a post-push hook for git. The objective is just to run a shell command to launch gitrob once the code has been pushed to Github. I found this : https://stackoverflow.com/a/3812238/9709330 But I'm a noob Linux user and when I saved my post-push hook as 'git-push-wh' in /usr/local/bin (which is in my $PATH), it didn't change anything and when I run git push-wh it is not recognized.
Any help ? Or any other way to do this ? Thanks :)