diff options
Diffstat (limited to 'using-git.texinfo')
-rw-r--r-- | using-git.texinfo | 20 |
1 files changed, 20 insertions, 0 deletions
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 |