threads / discuss / 5936

git-pull question

Subject: git-pull question

## tl;dr

2 messages between Oct 16, 2006 and Oct 16, 2006.

replies: 1people: 2as markdown or json

Johannes Schindelin· Oct 16, 2006, 09:11 UTC · re: Joakim Tjernlund · lore

Re: git-pull question

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

← back to recent threads