How to sign-off commits¶
We require a sign-off commit message in the following format on each commit in pull request.
Creating your signoff¶
Git has a
-s | --sign-off command line option to append the message automatically.
This will use your default value on your git configure in
Setup your name:
Setup your mail:
How to amend a sign-off¶
If you miss your sign-off on the last commit, you can amend the commit and then push to Github.
If you miss series of commits, you can use the rebase with
-i | --interactive to edit and append into.
If you have 4 commits in your history.
We will enable the Probot/DCO on Github. For more details about the DCO on Github, please read the article here.