Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
a-priori
on Nov 16, 2011
|
parent
|
context
|
favorite
| on:
Yipit Django Blog: Why You Need a Git Pre-Commit H...
I 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
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
More information about hooks: http://book.git-scm.com/5_git_hooks.html