[mythtv-users] git & wiki

Ian Kent raven at themaw.net
Wed Dec 8 14:07:39 UTC 2010

On Wed, 2010-12-08 at 21:57 +0800, Ian Kent wrote:
> > 
> > E.g.: I still need to find out how to get the git commit number we're at
> > to adjust the name of the mythtv rpms.
> git show HEAD | head -1 | awk '{print $2}'
> but that shows the full commit id. You probably only want to use the
> first 8 digits of that. Other git tools get things right when the first
> 8 digits is provided and there hasn't been any time that I have tried to
> use just the first 8 digits that has not returned the commit I was
> after.

Of course that assumes you have a checkout of the branch you want to
work with. Oh .... suddenly, and very quickly, we need to talk about
remote tracking branches ...... and then things start to get painful,
read the doco.


More information about the mythtv-users mailing list