Git submodule commit hooks

If you have Git 2.10+ you can get the hooks directory by running:

`git rev-parse --git-path hooks`

Note: by default it is .git/hooks but if you are in a submodule it will be different.

Pre Git 2.10+ you would want something like:

`git rev-parse --git-dir`/hooks

More info at:
Find path to git hooks directory on the shell

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)