The CodebaseHQ Blog

Announcements, Notices & Tips from the CodebaseHQ Team

Clever Commit Messages

Posted on March 24th, 2010 20:43

As part of our deployment today, we've introduced a small new feature which allows you to add more interactivity to your commit messages. You can now use some of the syntax which is available in Codebase Markup. See the list of examples which you can do below:

Link to branches & tags

Image

LINKING TO BRANCHES

I've done some work on this but also in the {branch:devel} branch.
This upgrades things to merge {branch:other-repo/master}.

Image

LINKING TO TAGS

Not sure when this fix was implemented but it wasn't a problem in
{tag:v1.4.1}

Link to other commits

To link to commits, simply post a SHA with more than 6 characters into your commit message. We'll automatically link it to the appropriate commit from any repository in the project.

Image

LINKING TO OTHER COMMITS

this should have been committed with
e82604e0433605154fb16140eed821c7500a02b4

Link to tickets

As you may already know, you can create links two way links to tickets using [touch:123] or [completed:123] (where completed is the name of a status). When using this technique, a note will be posted in the ticket however if you just want to reference a ticket from a commit you can simply reference with #123.

Image

LINKING TO TICKETS

I'm not sure ticket #123 should have been resolved by this

We hope you'll enjoy this little extra feature.

Follow us on twitter (@codebase) for all the latest information.

Feel free to subscribe to our RSS feed to keep up-to-date.

You can subscribe to our blog by e-mail thanks to the guys at Feed my Inbox - just enter your email address below to start: