Messages in this thread | | | From | Junio C Hamano <> | Subject | Re: [git pull] vfs patches, part 1 | Date | Wed, 31 Dec 2008 12:43:46 -0800 |
| |
Linus Torvalds <torvalds@linux-foundation.org> writes:
> In case you wonder what the easiest way to fix things up is: just export > the series as a mbox ("git log -p --stat --pretty=email linus.. > mbox") > and then just edit the single mbox file to remove crud. Then you can > re-apply it with "git am". > > Of course, with git you can do it in a million different ways: You could > do it with "git format-patch" or with "git rebase -i" too, for example, > but exporting it as an mbox means that you can do it in one single editing > session, which is how at least I personally work. Much nicer than having > to handle each commit individually.
The "format-patch" equivalent to export to a single mbox is:
$ git format-patch --stdout linus.. >mbox
| |