aboutsummaryrefslogtreecommitdiffstats
path: root/using-git.texinfo
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2013-08-16 03:44:12 +0200
committerMattias Andrée <maandree@operamail.com>2013-08-16 03:44:12 +0200
commitde7f31e1acc054091e4034083f6e2ba31d672a77 (patch)
tree9d20ba118ccaebb1043eb43790190e1cef64364a /using-git.texinfo
parentsending patches (diff)
downloadusing-git-de7f31e1acc054091e4034083f6e2ba31d672a77.tar.gz
using-git-de7f31e1acc054091e4034083f6e2ba31d672a77.tar.bz2
using-git-de7f31e1acc054091e4034083f6e2ba31d672a77.tar.xz
applying patches
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'using-git.texinfo')
-rw-r--r--using-git.texinfo20
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