Try typing "man git branch".

You will see that existing branches are shown. That means branches that
exist in your repository.

Once you check out versionx it will become a local branch.



On Sat, Oct 19, 2013 at 1:51 PM, Blake McBride <blake1...@gmail.com> 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 git-users+unsubscr...@googlegroups.com.
> 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 git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to