[infinispan-dev] Git checkout weirdness

"이희승 (Trustin Lee)" trustin at gmail.com
Thu Nov 18 06:00:07 EST 2010


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/


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 290 bytes
Desc: OpenPGP digital signature
Url : http://lists.jboss.org/pipermail/infinispan-dev/attachments/20101118/9669fc03/attachment.bin 


More information about the infinispan-dev mailing list