5 ms·
Forget mistakes, such a commit hook would prevent me from making small iterative commits. I'd just disable that hook within the first few days.
by Izkata 2y ago
Forget mistakes, such a commit hook would prevent me from making small iterative commits. I'd just disable that hook within the first few days.
- lloydatkinson 2y ago> Before someone starts getting their pants in a twist at this idea, you can configure a solution such that commits to branches don't need a conventional commit format, but that the commit that merges a PR into master must have conventional commit format.
- shepherdjerred 2y agoYou can skip pre-commit hooks with the --no-verify flag https://git-scm.com/docs/git-commit#Documentation/git-commit.txt---no-verify https://git-scm.com/docs/git-commit#Documentation/git-commit...