Multiple branches with git?

Graeme Gregory dp at xora.org.uk
Thu Dec 18 09:36:13 UTC 2008


Wolf, Josef wrote:
> Graeme Gregory wrote:
>
>   
>>> What would you gurus out there recommend?
>>>       
>> Read the manual on git clone --local --shared
>> This allows monotone style working.
>>     
>
> Thanks for the hint, Gregory.
>
> Unfortunately, there's a big fat warning attached to the --shared
> option.
> I am too new to git to fully understand this warning.  As I understand
> it,
> my clone may become corrupt if any branches are deleted in the source
> repository.  And that can easily happen if branches are deleted in the
> official repository and I pull from it after that.
>   
I believe that only happens if you have a local branch based on the
remote branch, but I'm sure someone more familiar with git could
clarify. I think for normal usage you wont hit that!

Graeme





More information about the Openembedded-users mailing list