From de7f31e1acc054091e4034083f6e2ba31d672a77 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Fri, 16 Aug 2013 03:44:12 +0200 Subject: applying patches MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- using-git.texinfo | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'using-git.texinfo') diff --git a/using-git.texinfo b/using-git.texinfo index 62e263b..3537244 100644 --- a/using-git.texinfo +++ b/using-git.texinfo @@ -473,6 +473,7 @@ the files and make a new commit. @menu * Cloning a repository:: * Submitting patches:: +* Accepting patches:: @end menu @@ -564,6 +565,25 @@ server should accept this. +@node Accepting patches +@section Accepting patches + +To apply a patch, use the @command{git am} +@footnote{`am' stands for `apply mailbox', +but it words on regular patch files} +command: + +@example +git am PATCH_FILE +@end example + +Is good practice to sign off commits to +help establish a chain to trace submissions, +and some projects will require it. To +sign off with @command{git am}, just add +@command{--signoff}. + + @node GNU Free Documentation License @appendix GNU Free Documentation License -- cgit v1.2.3-70-g09d2