Thanks!

So even though the branch is in the local repo, I can't use the files
locally without creating a local tracking branch.

And git checkout as well as git branch only work locally, always.

Yes?

- Pito

On Thu, Mar 25, 2010 at 4:43 PM, Paul Beckingham <p.becking...@gmail.com> wrote:
> The remote/origin/ymlsupport means the branch exists in the repo, so it is 
> local - you just don't have a tracking branch you can make changes on.  You 
> can create your own tracking branch of any of those by doing this:
>
>        $ git checkout ymlsupport
>
> Or if your git is older (< 1.6.6?) do this:
>
>        $ git checkout -b ymlsupport origin/ymlsupport
>
> This will create a local tracking branch.  You can create one for each of 
> them, if you wish.  Or create your own local branch:
>
>        $ git branch foo
>
> You use:
>
>        $ git checkout <branch>
>
> to switch between your tracking branches.
>
>
>
>
> On Mar 25, 2010, at 4:31 PM, Pito Salas wrote:
>
>> Hi all,
>>
>> Looking for a little explanation on this thing that's confusing me.
>> Here's the state I am in:
>>
>> $ git branch
>> * master
>>
>> $ git branch -a
>> * master
>>  remotes/origin/HEAD -> origin/master
>>  remotes/origin/idents
>>  remotes/origin/master
>>  remotes/origin/refactorrender
>>  remotes/origin/release-001
>>  remotes/origin/singleballotimp
>>  remotes/origin/wicked_pdf
>>  remotes/origin/ymlsupport
>> $
>>
>> What does it mean when a branch is on a remote but not local? How do I
>> get it local so that I can check it out?
>>
>> Thanks!!
>>
>> Pito
>>
>> --
>> 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-us...@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-us...@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-us...@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