Purpose of the mine-full and theirs-full commands

Viewed 63384

According to the docs:

(mc) mine-conflict - accept my version for all conflicts (same)
(tc) theirs-conflict - accept their version for all conflicts (same)

(mf) mine-full - accept my version of entire file (even non-conflicts)
(tf) theirs-full - accept their version of entire file (same)

I don't understand the difference between the *-conflict and *-full commands. It seems like it would get you the same results.


More: See this thread for a more detailed response to this question.

2 Answers

mine-conflict will use your code in every conflict situation, but still do regular merging in all other situations.

mine-full will use your entire file, throwing away all changes in theirs.

Related