git hook script name - named appropriately -
the git hooks documentation says:
to enable hook script, set file in hooks subdirectory of git directory named appropriately , executable
http://git-scm.com/book/en/customizing-git-git-hooks
what mean named appropriately
?
there illustration scripts in .git/hooks
show how utilize hooks. note name of hook defines when called ; hook names pre-defined git. cannot pick own names — git ignore them.
requirements working hook:
correct name, see all hooks executable placed in.git/hooks/
further reading
http://git-scm.com/docs/githooks http://git-scm.com/book/en/customizing-git-git-hooks git hook
No comments:
Post a Comment