All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tom Lambda <tom.lambda@gmail.com>
To: git@vger.kernel.org
Subject: Re: git pull merges current branch even when <dst> is specified
Date: Thu, 25 Jun 2009 06:28:38 -0700 (PDT)	[thread overview]
Message-ID: <1245936518805-3155010.post@n2.nabble.com> (raw)
In-Reply-To: <alpine.DEB.1.00.0906251142550.5365@intel-tinevez-2-302>


Thank you for the explanation.

So specifying :<dst> in git-pull does not seem that useful now to me, since
one has to checkout the <dst> branch anyway to keep other branches
unaltered.

Thanks again,
Tom


Johannes Schindelin wrote:
> 
> 
> To explain why this is so: Merging is an operation that requires a working 
> directory, as merge conflicts can happen.  That is why merging is only 
> possible locally, and only into the current branch.
> 
> 

-- 
View this message in context: http://n2.nabble.com/git-pull-merges-current-branch-even-when-%3Cdst%3E-is-specified-tp3149948p3155010.html
Sent from the git mailing list archive at Nabble.com.

      reply	other threads:[~2009-06-25 13:30 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-24 16:47 git pull merges current branch even when <dst> is specified Tom Lambda
2009-06-25  8:52 ` Michael J Gruber
2009-06-25  9:44   ` Johannes Schindelin
2009-06-25 13:28     ` Tom Lambda [this message]

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=1245936518805-3155010.post@n2.nabble.com \
    --to=tom.lambda@gmail.com \
    --cc=git@vger.kernel.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.