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

Re: git-pull question

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Oct 16, 2006, 09:11 UTC
Message-ID
<Pine.LNX.4.63.0610161109300.14200@wbgn013.biozentrum.uni-wuerzburg.de>
In-Reply-To
<012c01c6f0be$7d329fc0$1267a8c0@Jocke>
Hi,
On Mon, 16 Oct 2006, Joakim Tjernlund wrote:
Show 7 quoted lines
> Why isn't
>   git checkout -b myb otherb
>   git pull . thirdb
> 
> the same as
>   git checkout -b myb otherb
>   git pull . thirdb:myb

You have to understand that "thirdb:myb" means "fetch the branch thirdb and _store_ it as myb (if it fast forwards)".

So, it makes no sense at all to use the "remote:local" syntax with pull.

Hth, Dscho

Previous: Joakim Tjernlund
Message 2 of 2 in “git-pull question”
  1. Joakim TjernlundOct 16, 2006
  2. Johannes SchindelinOct 16, 2006

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.