Display Git location of source code


This plugin adds the Git location to the contextual navigation under the Browse Source navigation item:

screen shot of git location plugin

Even though with Git this info is static, ie it doesn't change depending on which folder is browsed in Trac, it still comes in handy for making checkouts and such.


You can browse the source from github using Git, or check it out via:

$ git clone git://

There is also a version on PyPi.


Follow the normal egg installation procedures.

Enable the plugin in the [components] section of your trac.ini file:

gitlocation.* = enabled

Finally, add a section to your project's trac.ini file with the Git location:

repository_url =

Authors / Contributors

Git Location is a shameless rip-off of Erik Rose' Subversion Location plugin and therefore also based on jhammel's SvnUrlsPlugin. Thanks, Erik & jhammel!

Last modified 6 years ago Last modified on Aug 29, 2016, 10:09:49 PM

Attachments (1)

Download all attachments as: .zip