Re: re-running merge on a single file
- From
Chris Packham <judge.packham@gmail.com>
- Date
- Mar 11, 2010, 19:09 UTC
- Message-ID
- <a038bef51003111109w2b4feaeeg120383a0645a0a7@mail.gmail.com>
- In-Reply-To
- <a038bef51003111054n5bcecd2eud531dcc80509f952@mail.gmail.com>
Answering my own question.
On Thu, Mar 11, 2010 at 10:54 AM, Chris Packham <judge.packham@gmail.com> wrote:
Show 6 quoted lines
> Alternatively I could manually drive and external merge tool like > kdiff3 if I had a recipe for getting the common ancestor revision. > Something like > > git checkout <magic pathspec> -- file > mv file file.base
git checkout $(git merge-base master vendor) -- file
Still if anyone has a cleaner way of doing this I'd like to hear it. It especially like a one-shot get file X from revision Y save as Z.