git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git-pull question
@ 2006-10-16  1:00 Joakim Tjernlund
  2006-10-16  9:11 ` Johannes Schindelin
  0 siblings, 1 reply; 2+ messages in thread
From: Joakim Tjernlund @ 2006-10-16  1:00 UTC (permalink / raw)
  To: git

Why isn't
  git checkout -b myb otherb
  git pull . thirdb

the same as
  git checkout -b myb otherb
  git pull . thirdb:myb

 Jocke

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: git-pull question
  2006-10-16  1:00 git-pull question Joakim Tjernlund
@ 2006-10-16  9:11 ` Johannes Schindelin
  0 siblings, 0 replies; 2+ messages in thread
From: Johannes Schindelin @ 2006-10-16  9:11 UTC (permalink / raw)
  To: Joakim Tjernlund; +Cc: git

Hi,

On Mon, 16 Oct 2006, Joakim Tjernlund wrote:

> 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-10-16  9:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-16  1:00 git-pull question Joakim Tjernlund
2006-10-16  9:11 ` Johannes Schindelin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).