[mythtv-users] git & wiki

Udo van den Heuvel udovdh at xs4all.nl
Sun Dec 26 09:41:42 UTC 2010


On 2010-12-08 20:20, Jarod Wilson wrote:
>> [root at recorder mythweb.git]# pwd
>> /usr/src/mythweb.git
>> [root at recorder mythweb.git]# git describe | cut -d- -f 3
>> fatal: No names found, cannot describe anything.
>> [root at recorder mythweb.git]# git show HEAD | head -1 | awk '{print $2}'
>> 52cb8fb98f1aa209cfd2befa92a9cdd0b7841070
>>
>> How come?
> 
> Not sure how you managed that, I've never had it not work. Are
> you running that in a local branch and/or with a detached HEAD?

root at recorder mythtv.git]# cd -
/usr/src/mythweb.git
[root at recorder mythweb.git]# git branch
* 0.24-fixes
  master

Just a full checkout where I changed the branch to 0.24-fixes.
Similar as the description I gave a short while back:

# git clone https://github.com/MythTV/mythtv.git mythtv.git
# cd mythtv.git
# git branch -r
  origin/HEAD -> origin/master
  origin/dkristjansson/mythtv-rec
  origin/fixes/0.18
  origin/fixes/0.19
  origin/fixes/0.20
  origin/fixes/0.21
  origin/fixes/0.22
  origin/fixes/0.23
  origin/fixes/0.24
  origin/master
  origin/mythsystem-rewrite
  origin/temp/newaudiosetup
# git checkout -b 0.24-fixes origin/fixes/0.24
# git branch
* 0.24-fixes
  master
# git pull
Already up-to-date.
#



More information about the mythtv-users mailing list