All of lore.kernel.org
 help / color / mirror / Atom feed
From: Miles Bader <miles.bader@necel.com>
To: Junio C Hamano <gitster@pobox.com>
Cc: git@vger.kernel.org
Subject: Re: "git pull REMOTE" question
Date: Wed, 22 Aug 2007 13:44:05 +0900	[thread overview]
Message-ID: <buo8x84kwkq.fsf@dhapc248.dev.necel.com> (raw)
In-Reply-To: <7vy7g4jids.fsf@gitster.siamese.dyndns.org> (Junio C. Hamano's message of "Tue\, 21 Aug 2007 21\:35\:59 -0700")

Junio C Hamano <gitster@pobox.com> writes:
>> 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.

  reply	other threads:[~2007-08-22  4:44 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-22  4:23 "git pull REMOTE" question Miles Bader
2007-08-22  4:35 ` Junio C Hamano
2007-08-22  4:44   ` Miles Bader [this message]
2007-08-22  5:11     ` Junio C Hamano
2007-08-22 16:44       ` Jon Loeliger
2007-08-22 20:29         ` Junio C Hamano

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=buo8x84kwkq.fsf@dhapc248.dev.necel.com \
    --to=miles.bader@necel.com \
    --cc=git@vger.kernel.org \
    --cc=gitster@pobox.com \
    --cc=miles@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.