Quantcast
Channel: How to automatically update git hooks? - Stack Overflow
Browsing all 2 articles
Browse latest View live

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 Article



How 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
Browsing all 2 articles
Browse latest View live


Latest Images