[mythtv-users] Does this git command get me master ( latest commits ) ?

Michael T. Dean mtdean at thirdcontact.com
Wed Mar 7 23:38:49 UTC 2012


On 03/07/2012 05:40 PM, R. G. Newbury wrote:
> On 03/07/2012 03:51 PM, Mark wrote:
>> git clone git://github.com/MythTV/mythtv.git; git clone
>> git://github.com/MythTV/packaging.git
>>
>> Or should I somehow be specifying "master" somewhere?
>>
>> I simply want to get the very latest .25 commits and am new to git.
>>
>> Thanks,
> This is what I use
>
> cd /somewhere/temp/with-lots-of-storage
>
> git clone git://github.com/MythTV/mythtv.git mythtv
> git clone git://github.com/MythTV/mythtv.git mythweb
>
>
> The 'mythtv' pull creates a 'mythtv' folder with 'mythtv' and
> 'mythplugins' folders below it.
>
> The git clone is about somewhere around 800Meg and takes 1.5G after you
> have run 'make'.
> Mythweb on the other hand is relatively tiny: 11M.
>
> (Hah! My first computer had 16K memory!!)

And, yes, doing the above will get you a checkout of the default branch, 
which is master.

You can (and should) verify which branch you're on with:

git branch

from inside the git repo you cloned.

Mike


More information about the mythtv-users mailing list