Skip to content

Using git trac hook

chiemseesurfer edited this page Nov 21, 2012 · 1 revision

When you are read to make a git commit, make sure that you have an appropriate open trac issue.

Anywhere in your commit message, you must put the following strings (without the quotes): "refs #23" "refs #1" "fixes #8"

If you want to commit things not according to a trac-ticket, you can use "#noref" With this tag, no trac issue update will be done.

And then you do a "git push" to push your changes upstream, the trac issue update will be done.

A complete list of all tags which are available

  • close
  • closed
  • closes
  • fix
  • fixed
  • fixes
  • references
  • refs
  • addresses
  • re
  • see
  • #noref

Clone this wiki locally