[infinispan-dev] Git checkout weirdness

Scott Marlow smarlow at redhat.com
Thu Nov 18 09:42:14 EST 2010


I usually clone the trunk first and then switch between branches.
Perhaps specifying the branch name on trunk, is a less traveled path for
GIT.

Instead of:

 git clone git at github.com:trustin/infinispan.git infinspan-5.0 -b master

I usually do:

git clone git at github.com:trustin/infinispan.git infinspan-5.0

 cd infinspan-5.0 
 checkout master

Scott

On Thu, 2010-11-18 at 19:34 +0900, "이희승 (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?
> 
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/infinispan-dev




More information about the infinispan-dev mailing list