Skip to content

Latest commit

 

History

History
8 lines (6 loc) · 292 Bytes

File metadata and controls

8 lines (6 loc) · 292 Bytes

git-hooks

Some git-hooks that I like

add-jira-issue-name

Adds the branch name to the commit message (before editing) if the branch name matches a JIRA issue name (^[A-Z]{3,4}-[0-9]{1,6}$).

prevent-force-push

Prevents force push to master branch and deletion of master branch.