Yes this is normal behavior in regards to having to use branch -r to list
the remote branches. How ever you should be able to use checkout -b
remotename localname and git. Should auto setup tracking. If not there's a
configuration line that can be added to you. .git/config file. You can
reference the following man pages for complete details: git-checkout and
git-config
On Oct 25, 2011 11:01 PM, "Sialnije" <sialn...@gmail.com> wrote:
>
> Hi List,
>
> Just started learning git. I noticed that right after running "git
> clone", the local depo only has history of the master branch. I have
> to run "git branch -r" and for each branch issue the "git checkout --
> track -b <branch> ..." command.
> Is this normal behavior? Is there a command line option to get git to
> fetch all the branch history?
>
> Thanks for help.
> si
>
> --
> You received this message because you are subscribed to the Google Groups
"Git for human beings" group.
> To post to this group, send email to git-users@googlegroups.com.
> To unsubscribe from this group, send email to
git-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
http://groups.google.com/group/git-users?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To post to this group, send email to git-users@googlegroups.com.
To unsubscribe from this group, send email to 
git-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/git-users?hl=en.

Reply via email to