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

Only symlink pre-commit instead of whole hooks directory #17

Open
vedelaar opened this issue Sep 13, 2018 · 0 comments
Open

Only symlink pre-commit instead of whole hooks directory #17

vedelaar opened this issue Sep 13, 2018 · 0 comments

Comments

@vedelaar
Copy link

I don't want to symlink my whole hooks directory. Instead, I want to symlink only the pre-commit script, so that I can add extra hooks locally without having untracked files or committing them.

Right now if I do git status, I have an untracked file:
git-hooks/prepare-commit-msg
which I don't want to commit (I don't want other developers using my prepare-commit-msg script). So if I am able to only symlink pre-commit I can have my own, local, scripts too.

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

No branches or pull requests

1 participant