tags:

views:

30

answers:

1

Is it possible to create a commit message with link to other repository commit?

Eg. something like [Username\Repo\commitHash]

Usage example: if some bc break would happen in some framework's commit, I'd like to link to this very commit in my own commits updating my code which uses this framework.

+1  A: 

I don't think there's anything stopping you from putting something like:

http://github.com/pkrumins/lulzbot/commit/4c1b1ea95b379805e3b595b511a89affc6811145

Right in your commit message. While this doesn't link directly to the git object's version of the commit... it leads to a page showing that commit.

Format is github.com/User/Repo/commit/hashtag

sleepynate
Thanks, but I don't think this is the right way to do this (even if it is the only way). As with the `close #issue_number` tag, I'd expect something similar.
Mikulas Dite