Thread (4 messages) 4 messages, 3 authors, 2016-06-15

Re: Now what: multiple HEAD refs

flat view

From: Alex Riesen <hidden>
Date: 2016-06-15 22:42:15

On 12/15/05, Johannes Schindelin [off-list ref] wrote:
quoted
quoted
not make any sense to me; I am puzzled ... what are you trying
to achieve with "git pull . ref1:HEAD"?
merge branch ref1 into current. Is that not a correct refspec?
No, it is not correct. To pull means that you want to merge the fetched
ref (your ref1), and store the result in the current branch.

But if you write "ref1:HEAD", you pretend that you want to fast-forward
the local branch "HEAD" to ref1, and get an error if it is not
forwardable.

In your case, I guess, "git pull ref1" is what you meant.
I did, I guess...
Confused now.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help