How to make issue# mandatory in GIT while committing

We are setting up GIT. We want to make the user mandatory to enter the issue # in the beginning of comment. LIke “Issue 3222: Fix for result variations”. Is there a way to configure some sort of regular expression so that this check is made before committing?


  • how to make branches identical
  • Error when running npm-install: Could not install . Error! No version provided
  • git hook for legit commit message (#123 good message)
  • Use git rev-list to exclude a branch, but keep common ancestors with the included branches
  • Revert to pre-git v1.7.8 git submodule behavior with submodule filesystem locations
  • How do I add Git to MSBuild script?
  • Fetch specific file from repository using GIT
  • Git clone verbose mode – show each incoming object
  • Why do I see remote branches which were deleted already?
  • nomethoderror undefined method 'configure' application
  • Code review of a branch in GitHub
  • using git to maintain a shared codebase
  • One Solution collect form web for “How to make issue# mandatory in GIT while committing”

    You may take a look at pre-commit hook.

    Git Baby is a git and github fan, let's start git clone.