From: Vincent Pit Date: Mon, 22 Dec 2008 20:15:14 +0000 (+0100) Subject: Note the --author option of git commit, and therefore explain how to apply raw diffs. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=09645c26bf855249cfe60e690510ba26afeaf40c;p=p5sagit%2Fp5-mst-13.2.git Note the --author option of git commit, and therefore explain how to apply raw diffs. --- diff --git a/pod/perlrepository.pod b/pod/perlrepository.pod index 34d464e..80e2bf8 100644 --- a/pod/perlrepository.pod +++ b/pod/perlrepository.pod @@ -304,11 +304,16 @@ switch into it: % git checkout -b experimental -Now we should apply the patch: +Patches that were formatted by C are applied with C: % git am 0001-Rename-Leon-Brocard-to-Orange-Brocard.patch Applying Rename Leon Brocard to Orange Brocard +If just a raw diff is provided, it is also possible use this two-step process: + + % git apply bugfix.diff + % git commit -am "Some fixing" --author="That Guy " + Now we can inspect the change: % git log