summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Stapp <mjs@voltanet.io>2019-12-04 14:56:58 -0500
committerGitHub <noreply@github.com>2019-12-04 14:56:58 -0500
commitbf8be99ad281942a389d4a6f2b67a69514fc47dd (patch)
tree52170cbd11e7b0259c696cd7ffa51caaff1c0c04
parente302caaa818a2e582a98f16eaa807bc3928bf617 (diff)
parent118cf7edb020cb56588cc62052089faf0cc15969 (diff)
Merge pull request #5471 from sworleys/Doc-Sign-Off
doc: add doc for easy commit sign-off with `-s`
-rw-r--r--doc/developer/workflow.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/developer/workflow.rst b/doc/developer/workflow.rst
index 6eef7532b3..40378f0219 100644
--- a/doc/developer/workflow.rst
+++ b/doc/developer/workflow.rst
@@ -293,6 +293,11 @@ Code submitted to FRR must be signed off. We have the same requirements for
using the signed-off-by process as the Linux kernel. In short, you must include
a ``Signed-off-by`` tag in every patch.
+An easy way to do this is to use ``git commit -s`` where ``-s`` will automatically
+append a signed-off line to the end of your commit message. Also, if you commit
+and forgot to add the line you can use ``git commit --amend -s`` to add the
+signed-off line to the last commit.
+
``Signed-off-by`` is a developer's certification that they have the right to
submit the patch for inclusion into the project. It is an agreement to the
:ref:`Developer's Certificate of Origin <developers-certificate-of-origin>`.