From 2e573736c094376e7c65ecf95bae192ca3b75cf3 Mon Sep 17 00:00:00 2001 From: Francis Rowe Date: Wed, 10 Jun 2015 07:25:12 -0400 Subject: site/git/index.html: Require a sign-off-by This patch also practises what it preaches. Signed-off-by: Francis Rowe --- diff --git a/site/git/index.php b/site/git/index.php index 1ebedd6..46e6cb5 100644 --- a/site/git/index.php +++ b/site/git/index.php @@ -106,14 +106,15 @@

git add path/to/file. You should also add any other files that are listed as modified in the git status. If there are deleted files in the git status, you can use git rm path/to/file. As long as you have added all the untracked files, it is generally easier to use:"); ?>
- $ git commit -a
- git commit)"); ?> + $ git commit -a -s
+ git commit -s)"); ?>
+ The -s parameter adds a sign-off-by to the commit message. This is highly recommended.


- $ git commit --amend
+ $ git commit -s --amend

- $ git commit -a --amend + $ git commit -a -s --amend


@@ -177,4 +178,4 @@ \ No newline at end of file +?> -- cgit v0.9.1