[git-users] Remote vs. local branch

2010-03-25 Thread Pito Salas
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

Re: [git-users] Remote vs. local branch

2010-03-25 Thread Paul Beckingham
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:

Re: [git-users] Remote vs. local branch

2010-03-25 Thread Pito Salas
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 wrote: > The remote/origin/ymlsupport

[git-users] Is it safe to rebase changes I have pushed?

2010-03-25 Thread Charles Manning
Due to my git noobness I ended up putting some changes in the wrong commit and then pushed. I would like to rebase to fix up the commit messages. Will I break things if I then push the resulting commits? Thanks -- You received this message because you are subscribed to the Google Groups "Git

[git-users] Re: Remote vs. local branch

2010-03-25 Thread Jeffrey
On Mar 25, 6:11 pm, Pito Salas wrote: > 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? You could actually check out the remote bran