Enhancing Your Git Commit Messages
Too Long; Didn't Read
In this article, I'm going to show you how to use git hooks to automatically prepend the ticket ID you're working on to your commit message. Every time that you create or clone new repositories your commit messages will be appended with ticket ID based on the branch that you're using. branch names similar to: Feature/ABC-1234-Feature-testing-testing. . ™™™: Git hooks are scripts that Git executes before or after events such as: commit, push, and receive.