Skip to content

Git hook to add Jira ID automatically on each commit

Notifications You must be signed in to change notification settings

SkarCBR/git-hook-script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

git-hook-script

Git hook to add Jira ID automatically on each commit

Instructions:

  • Download the script file
  • Place it in the project Git folder ( lidl-plus-android/.git/hooks , if it doesn't exist just create it)
  • Make sure the name of the file is prepare-commit-msg (Git will look for that name)
  • Make the file executable with chmod +x prepare-commit-msg

Done!

Now, every time you commit with a message it will append the Jira task ID to the commit message.

About

Git hook to add Jira ID automatically on each commit

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages