You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
Repository navigation
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
Add Signed-off-by line in commit log message. #914
Make possible to add a Signed-off-by line by the committer at the end of the commit log message. Many projects, even hosted in GitHub, needs a signoff line to prove the authorship of the commit.
When running $ git commit -s <file> the default editor is opened to write the commit log message and the Signed-off-by line came inserted automatically.
Expected behavior:
Enable the option to signoff the commit, by a selectiong a check box on UI near the "Commit" button (like the "Amend" option), and then have the Signed-off-by: <committer-email> line in the end of the field "Commit message".
Actual behavior:
No option to signoff a commit.
Reproduces how often:
100% of the time I want commit using github package.
@claell Reading your comments in the linked issue, you are talking about the issue in this PR (using --signoff). My comment was about GPG signing your commits, which is an entirely different subject.
Note that that project seems to be misunderstanding the usage of --signoff, but it's a common misconception. git only provides a method for automatically adding --signoff for patches, since that is the intent: format.signoff
Not sure why my comment was marked as off-topic. Signing a commit using the lowercase "-s" to inject your signed off by email in a commit is a ubiquitous use of github. Just about every major github project requires this. Thus this feature not being available in Atom forces users of Atom to commit outside the editor, making commit in the editor pretty much a useless feature. The importance of this feature was not specified in the issue. There is no feature in git for automatically signing (-s) commits. If a user accidentally uses Atom to commit they will have to amend their commit by signing it outside Atom and force pushing the amended commit.
Reacted by Claudius Ellsel, Lennart Jern, Sjoerd Talsma, resynth1943, Joe Bostian, René Gieling, Patrick and Peter Solymos
Activity
kfrz commentedon Jun 17, 2017
mikebrow commentedon Aug 30, 2017
lnxg33k commentedon Oct 25, 2017
Arcanemagus commentedon Oct 25, 2017
claell commentedon Jun 13, 2018
@Arcanemagus
The problem is I don't know how to tell it to git in the config. There does not seem to be a setting for that, right?
Arcanemagus commentedon Jun 13, 2018
@claell Reading your comments in the linked issue, you are talking about the issue in this PR (using
--signoff). My comment was about GPG signing your commits, which is an entirely different subject.Note that that project seems to be misunderstanding the usage of
--signoff, but it's a common misconception.gitonly provides a method for automatically adding--signofffor patches, since that is the intent:format.signoffclaell commentedon Jun 13, 2018
Ah sorry. Thought the last sentence of your comment was about the signoff again and not the GPG signing.
I did not find much confirmation on the link to stackoverflow you provided that the intent is only for patches, not for commits.
mikebrow commentedon Jun 18, 2018
Not sure why my comment was marked as off-topic. Signing a commit using the lowercase "-s" to inject your signed off by email in a commit is a ubiquitous use of github. Just about every major github project requires this. Thus this feature not being available in Atom forces users of Atom to commit outside the editor, making commit in the editor pretty much a useless feature. The importance of this feature was not specified in the issue. There is no feature in git for automatically signing (-s) commits. If a user accidentally uses Atom to commit they will have to amend their commit by signing it outside Atom and force pushing the amended commit.