Heya, On Sat, Jan 16, 2010 at 20:14, Erik Faye-Lund <kusmabite@xxxxxxxxxxxxxx> wrote: > I think you are looking for "git rev-parse HEAD". This outputs the > hash of HEAD as a single line on stdout. Or even better, you can use > the "git describe"-tool, which gives a nice and short description of > the commit relative to the most recent commit. It would be better to have a look at gitattributes [0] instead. [0] http://www.kernel.org/pub/software/scm/git/docs/gitattributes.html#_tt_ident_tt -- Cheers, Sverre Rabbelier -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html