On 2008.11.28 14:32:56 -0800, Jakub Narebski wrote:
What you can do is to create _local_ branch, closely tied to
remote-tracking branch 'origin/B1', by using:
$ git branch -b B1 --track origin/B1
You mixed up checkout and branch there ;-)
It's either
git branch B1 origin/B1 # Just create a branch B1
or
git checkout -b B1 origin/B1 # Create and checkout B1
I omitted the "--track" as, by default, it is implied when you create a
new branch from a remote tracking branch.
Björn