5 ms·
Maybe I'm misunderstanding you, but you have to commit locally before pushing to Github so that is not a problem (you do it on your machine before the `git push
by fbuilesv 15y ago
Maybe I'm misunderstanding you, but you have to commit locally before pushing to Github so that is not a problem (you do it on your machine before the `git push` to Github).
- a-priori 15y agoI don't know what the original comment was, but yes, this hook runs on your local machine. If you want a similar script to run on a server when people push to it, you want to use an update hook on the server. More information about hooks: http://book.git-scm.com/5_git_hooks.html http://book.git-scm.com/5_git_hooks.html