Replies: 1 comment 2 replies
-
If I understand it correctly, the templteDir provides a template for the If you want Unfortunately, there is no other way right now to do auto-install on git-clone 😕 |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Assuming that I have a number of repositories each with a lefthook configuration file, at the moment I have to remember to run
lefthook install
in each clone. Git has a template directory configured withinit.templateDir
that it will copy the contents of into every freshly cloned repository.Is there a set of generic hook scripts that can be made to automatically run
lefthook install
in repos that have it configured while safely ignoring any repos that don't have it configured?Beta Was this translation helpful? Give feedback.
All reactions