Re: "git pull REMOTE" question
- From
Miles Bader <miles.bader@necel.com>
- Date
- Aug 22, 2007, 04:44 UTC
- Message-ID
- <buo8x84kwkq.fsf@dhapc248.dev.necel.com>
- In-Reply-To
- <7vy7g4jids.fsf@gitster.siamese.dyndns.org>
Junio C Hamano <gitster@pobox.com> writes:
Show 5 quoted lines
>> Is there a way to set things up so that "git pull REMOTE" >> automatically merges fetched branches when doing a non-default pull? > > The branch to be merged currently is determined per branch. > You can just say "git pull usb master".
Right, but what I'm asking is whether there is (or should be) a way to automatically supply the "master", so I can just type "git pull usb" and have it do the right thing -- as there obviously is for the "origin" remote for this branch.
This apparent association of each local branch with a single remote seems slightly odd to me -- isn't it quite common for people to pull from various different remotes into the same local branch (e.g. for someone merging from the repositories of various regular contributors)?
Thanks,
-Miles
-- Do not taunt Happy Fun Ball.