Re: Confused about push/pull of a branch
- From
- Fritz Anderson <fritza@uchicago.edu>
- Date
- Aug 25, 2009, 17:58 UTC
- Message-ID
- <8E2E19AE-DFA6-4000-AD73-35739F1E6642@uchicago.edu>
- In-Reply-To
- <BA2E0DDB-3DE0-4D49-BFA6-72CFEDEBA5AE@uchicago.edu>
On Aug 25, 2009, at 12:40 PM, Fritz Anderson wrote:
> I can't get a second machine to pull in a branch that's in my remote > repository. I'm confused.
And just from half-wittedly fooling around, I tried:
machine_2$ git pull origin webservices Password: From fritza@fritzanderson.uchicago.edu:/Users/fritza/scientia/scientia * branch webservices -> FETCH_HEAD Updating 3c86901..6b09f9f Fast forward Calendar/Classes/CalendarWebController.m | 2 ++ # etc. dirserver/lib/ldaputils.rb | 15 +++++---------- 6 files changed, 34 insertions(+), 17 deletions(-) machine_2$ sudo /usr/local/bin/git branch * master machine_2$
This seems to mean that master on machine_2 is now congruent to webservices on machine_1. That's not what I meant. Is there a way to undo this? git-pull origin-master doesn't seem to do anything.
— F