Re: git pull on a branch semantics

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

Re: git pull on a branch semantics

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:42:17

Luben Tuikov [off-list ref] writes:
URL:<url>
Pull:projectC:projectC
Push:projectC:projectC

That is both here and remotely I've projectC being a branch
here and remotely.

I'd like to pull changes to projectC only, from the remote projectC to the local projectC, but my
current branch is A.

I blissfully do:

git pull projectC
You wanted to "git fetch", not "git pull" which is "fetch
followed by merge into the current branch".

Re: git pull on a branch semantics

From: Luben Tuikov <hidden>
Date: 2016-06-15 22:42:17

--- Junio C Hamano <junkio@cox.net> wrote:
You wanted to "git fetch", not "git pull" which is "fetch
followed by merge into the current branch".
Ah, ok, thanks Junio.

   Luben
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help