Is there an easy way to reformat a regular (unified) diff patch into a git format patch? I want to make a regular patch that someone sends me and applies it with git, adding information about the author, as if it is a git-format patch.
I don’t want to start manually rewriting the patch, so I was wondering if there is a git command that I haven’t found out yet that does this.
It seems like a problem that others should have had before ...
Thank!
source
share