On Fri, 11 Feb 2011 04:50:05 -0800 (PST)
Andrej Khitrov <a.n.khit...@gmail.com> wrote:
> I have 2 revisions of a file at HEAD and HEAD^. I want to manually
> compose new version of the file out of these two ones. I try to get
> the whole content of the file with diffs `git diff -U9999 HEAD^..HEAD
> -- myfile`. With `-U9999` I try to lift the limits of the context. But
> I'd like to escape from context diffs at all if it's possible. Ideally
> I'd like to have my file with just initial space/plus/minus notation.
> What is the best way to do that? Or maybe it is possible to look at
> the problem with a different angle.
May be you meant
$ git show HEAD:your_file >/tmp/your-file-as-in-HEAD
$ git show HEAD^:your_file >/tmp/your-file-as-in-HEADs-parent
You received this message because you are subscribed to the Google Groups "Git
for human beings" group.
To post to this group, send email to email@example.com.
To unsubscribe from this group, send email to
For more options, visit this group at