Skip to content

Commit 6994560

Browse files
mignoloJunio C Hamano
authored andcommitted
Teach SubmittingPatches about git-commit -s
As discussed on git mailing list let's teach the reader about the possiblity to have automatically signed off the commit running the git-commit -s command Signed-off-by: Paolo Ciarrocchi <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent ef06b91 commit 6994560

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Documentation/SubmittingPatches

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,9 @@ then you just add a line saying
149149

150150
Signed-off-by: Random J Developer <[email protected]>
151151

152+
This line can be automatically added by git if you run the git-commit
153+
command with the -s option.
154+
152155
Some people also put extra tags at the end. They'll just be ignored for
153156
now, but you can do this to mark internal company procedures or just
154157
point out some special detail about the sign-off.

0 commit comments

Comments
 (0)