2009/8/26 Ken <[email protected]>:
> Hello,
>
> I have a local git repository with two branches - master and
> add_projects.  Periodically I push the changes to github.  This all
> works well.
>
> Today I decided to sync everything up with another machine.  I logged
> into the second machine, which has only one branch (master), and did a
> "git pull origin master".  That worked fine.  Then I did a "git pull
> origin add_projects" thinking that it would create the add_projects
> branch on the local machine.  It didn't.  Instead it put all the
> add_projects changes into the master branch.  Is there some way I can
> get out of this mess?  Also, how should I have done this?
>
> I could really use some help!
>
> Thanks, Ken

Try:-

git checkout -b add_projects origin/add_projects

Cheers,
Andrew

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"GitHub" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/github?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to