Thread (1 message) 1 message, 1 author, 2016-06-15

Re: Git pull --rebase with strategy ours doesn't work (possibly bug)

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:51:28

"Dmitry S. Kravtsov" [off-list ref] writes:
and from git-rebase man page I read, that strategy ours allows us to
discard conflicing changes in favor
of ours.
That is not what the "ours" strategy is about. When merging another
history into our history, the strategy marks the other history "merged"
while using our tree as the result of the merge, without using _anything_
from their history.

It is not a way to take whatever that happen to merge cleanly textually
but use our change in only the conflicting parts.  You are probably
confusing it with 'ours' option of the recursive strategy, that is used in
"git merge -Xours".
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help