Answer by VonC for How to automatically update git hooks?
One possibility would be for your post-receive hook to:detect that the post-receive script is part of what is pushed.(See "git post-receive hook to check files": git diff --name-only $1..$2|grep...
View ArticleHow to automatically update git hooks?
So, the only hook I use is the post-receive. When I edit this file on my client, I want it to automatically update when I push to the server.I tried 3 things all of which did not work. In the...
View Article