[infinispan-dev] Git checkout weirdness

Manik Surtani manik at jboss.org
Thu Nov 18 09:21:11 EST 2010


Yeah I do something similar.

On 18 Nov 2010, at 12:00, 이희승 (Trustin Lee) wrote:

> A workaround is to set up all branches right after cloning:
> 
>  git branch -r | grep -Po '(?<=\sorigin/)[^\s]*' | \
>    grep -vF 'HEAD' | sort | uniq | while read -r B; do
>    git branch --set-upstream "$B" "remotes/origin/$B"
>  done
> 
> 이희승 (Trustin Lee) wrote:
>> Hey folks,
>> 
>> If I pull from remote repositories before switching to other branch,
>> 'git checkout' fails.  For example, this is an ordinary situation:
>> 
>>    http://pastebin.com/3uWi9qFx
>> 
>> while this is not expected:
>> 
>>    http://pastebin.com/ShCUHuru
>> 
>> Anyone knows why?
>> 
> 
> -- 
> Trustin Lee - http://gleamynode.net/
> 
> 
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/infinispan-dev

--
Manik Surtani
manik at jboss.org
Lead, Infinispan
Lead, JBoss Cache
http://www.infinispan.org
http://www.jbosscache.org







More information about the infinispan-dev mailing list