Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document git hook files are automanaged #162

Open
calebcartwright opened this issue Jul 26, 2021 · 1 comment
Open

Document git hook files are automanaged #162

calebcartwright opened this issue Jul 26, 2021 · 1 comment
Labels
documentation Related to documentation

Comments

@calebcartwright
Copy link
Member

Should update documentation as well as adding inline comment to the shell scripts that the various hook files placed under the hooks directory (e.g. .git/hooks) are entirely maintained and modified by rusty-hook and should never be changed by users

@kryskool
Copy link

Hi @calebcartwright

Git Version 2.9 introduced core.hooksPath and permit to keep the hooks in the repository like .rusty/pre-commit etc.

In this case, hooks script are always up to date

mkdir .rusty
git config --local core.hookspath ".rusty"

What do you think ?

Regards,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Related to documentation
Projects
None yet
Development

No branches or pull requests

2 participants