unthreaded / git-hooks

Small, lightweight tool to ensure ticket numbers make it into your Git commit messages
MIT License
0 stars 2 forks source link

Global install, enhanced CLI, idea #141

Open lcombs15 opened 2 years ago

lcombs15 commented 2 years ago

Say we install this hook somewhere, add it to the path.

Now we can say:

// Enable githooks for this repo, creates the yml file for you

githooks init

// No args gives you status information

githooks

// Allow githooks to update config for you

githooks config add-protected-branch "release/*"

This would be much easier and make more sense after #61 or something similar