git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: git pull merges current branch even when <dst> is specified

From
TLTom Lambda <tom.lambda@gmail.com>
Date
Jun 25, 2009, 13:28 UTC
Message-ID
<1245936518805-3155010.post@n2.nabble.com>
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:
Show 7 quoted lines
> 
> 
> 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.
Previous: Johannes Schindelin
Message 4 of 4 in “git pull merges current branch even when <dst> is specified”
  1. Tom LambdaJun 24, 2009
  2. Michael J GruberJun 25, 2009
  3. Johannes SchindelinJun 25, 2009
  4. Tom LambdaJun 25, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.