Skip to content

A git hook that adds a Jira issue ID to the beginning of a commit message

Notifications You must be signed in to change notification settings

binary-machinery/git_hook_prepend_jira_id

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

The hook gets a Jira issue ID from the branch name and adds it to the beginning of a commit message

Branch name must contain a valid Jira issue ID

Examples of valid branch names:

  • feature/JR-123/name_parser
  • bugfix/BG-555/null_ref_in_init
  • TD-32
  • JR-765_weird_fix
  • test-GR-234-test

Works both on Linux and Windows (with git bash)

About

A git hook that adds a Jira issue ID to the beginning of a commit message

Topics

Resources

Stars

Watchers

Forks

Languages