I appreciate your response, but I don't think it is related to my question. My local repository is up-to-date as shown. I understand that my query's are against my local repository. The point is that git first reports one branch, and then it reports two, when nothing has changed in the local repository.
Please see more direct responses to your reply below. On Friday, October 18, 2013 9:09:22 PM UTC-5, charlesmanning wrote: > > Try typing "man git branch". > > You will see that existing branches are shown. That means branches that > exist in your repository. > First it shows one, then two. No repository changes occurred in between. If what it is showing is correct, I am totally lost. I am clearly missing some basic idea here. Thanks. > > Once you check out versionx it will become a local branch. > > > > On Sat, Oct 19, 2013 at 1:51 PM, Blake McBride <[email protected]<javascript:> > > wrote: > >> Greetings, >> >> I am having trouble getting up to speed with git. Your help is greatly >> appreciated. For example: >> >> blake@vm-mint-14 ~/Backup/gcl/gcl.git $ git pull >> Already up-to-date. >> blake@vm-mint-14 ~/Backup/gcl/gcl.git $ git branch >> * master >> blake@vm-mint-14 ~/Backup/gcl/gcl.git $ git checkout Version_2_6_10pre >> Branch Version_2_6_10pre set up to track remote branch Version_2_6_10pre >> from origin. >> Switched to a new branch 'Version_2_6_10pre' >> blake@vm-mint-14 ~/Backup/gcl/gcl.git $ git branch >> * Version_2_6_10pre >> master >> blake@vm-mint-14 ~/Backup/gcl/gcl.git $ git checkout master >> Switched to branch 'master' >> blake@vm-mint-14 ~/Backup/gcl/gcl.git $ git branch >> Version_2_6_10pre >> * master >> blake@vm-mint-14 ~/Backup/gcl/gcl.git $ git --version >> git version 1.7.10.4 >> >> >> The first time I did a 'git branch' it only showed master. Then, when I >> switch to a branch that I magically know about, git then knows about the >> branch. Is there some sort of logic to this? I don't get git because it >> defies any kind of understanding I try to apply to it. >> >> Your help is greatly appreciated. >> >> Blake McBride >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Git for human beings" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> For more options, visit https://groups.google.com/groups/opt_out. >> > > -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
