Enabling --signoff / -s on commits
See original GitHub issuePlease describe the problem you think should be solved
A lot of open source projects work with the Developer Certificate of Origin (like Linux, Nextcloud and others). Currently, commits created with GitHub Desktop can not be signed off and you would have to amend each one using the command line. Or you have to manually insert the Signed-off-by: …
line in every commit.
- Documentation of --signoff: https://git-scm.com/docs/git-commit#git-commit--s
- More info on the DCO and why --signoff was added: https://stackoverflow.com/a/1962112
- Same issue exists in the Git & GitHub integration of Atom: https://github.com/atom/github/issues/914
- Tangentially related to #78 (Setup gpg signing)
Do you have any potential solutions in mind?
Possible solutions are:
- Simply sign off every commit automatically. The only thing to add to the commit message is:
Signed-off-by: Name <mail@example.com>
- Or if automatic signing has any drawback, have a global (or per-project) setting on whether commits should be signed automatically.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:51
- Comments:20 (7 by maintainers)
Top Results From Across the Web
Admins can require sign off on web-based commits
How to enable required signoffs for a repository ... Repository admins can toggle a similar repository-level setting. To do so, click Settings in ......
Read more >What is the Sign Off feature in Git for? - Stack Overflow
Sign-off is a line at the end of the commit message which certifies who is the author of the commit. Its main purpose...
Read more >How to sign-off commits - Pi-hole documentation
The text can either be manually added to your commit body, or you can add either -s or --signoff to your usual git...
Read more >Using a GPG Key to Sign-Off Git Commits and Emails - Medium
Your Git commit is now signed with your GPG key, making sure it identifies you as its actual creator. Signing Emails in Mail....
Read more >PyCharm - Commit and push changes to Git repository
Sign-off commit : select if you want to sign off your commit to certify that the changes you are about to check in...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Bump… this is needed.
This or an option to set a default commit description would be much appreciated as seen by the feedback on this issue. Bump