I see that `git init` creates a .git directory and hooks are to be placed in that directory. And these hooks are not tracked by version control. To achieve tracked hooks, either each developer has to copy the hooks or use tools like overcommit, pre-commit, husky etc.
I'm wondering why hooks are not made external like .gitignore. I guess it be better to have two git configuration directories in a repo, one hosting all the metadata managed by git and the other with user configured data (hooks, ignore, repo config etc). Kindly let me know why the current design choice is made and if the proposed change would introduce unseen issues. -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To unsubscribe from this group and stop receiving emails from it, send an email to git-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.