Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

2
  • 1
    I don't know if this helps, but if you use diff -u file1 file2 will generate the patch with the format as git-patch Commented Feb 28, 2011 at 3:25
  • But without author information... I would like to change the diff into git-patch format, adding the author so I can give credit. Commented Feb 28, 2011 at 15:05