Re: 'Theirs' merge between branches on a binary file.
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Dec 22, 2008, 23:18 UTC
- Message-ID
- <7v3agfhk8b.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <c115fd3c0812221458q3444cbcai7ab1716b9195ad08@mail.gmail.com>
"Tim Visher" <tim.visher@gmail.com> writes:
Show 6 quoted lines
> On Mon, Dec 22, 2008 at 5:52 PM, Junio C Hamano <gitster@pobox.com> wrote: > >> That sounds like "git checkout --theirs"... > > I'm sorry, Junio. I don't mean to be dense but I can't find that in > the docs and when I execute it it comes back as an unknown command.
Hmph, I meant to point you at:
http://www.kernel.org/pub/software/scm/git/docs/git-checkout.html
I think you can use "git checkout-index --stage=3 path" if your git is older than that one with the option.
v1.6.0.1-15-g38901a4 (checkout --ours/--theirs: allow checking out one side of a conflicting merge, 2008-08-30) introduced the feature.