Skip to content

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

Description

@vedelaar

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions