[英]github: commits incorrectly signed off
Anytime I open a PR on github I have to resolve this failed check:每当我在 github 上打开 PR 时,我都必须解决这个失败的检查:
"commits incorrectly signed off"
I don't understand why.我不明白为什么。 Is there a command to verify the signoff before opening a PR?在打开 PR 之前是否有验证签收的命令?
Looking at the github output:查看 github output:
Commit sha: 5daed5f, Author: gianpaolo, Committer: gianpaolo; The sign-off is missing.
Commit sha: c76c1a1, Author: gianpaolof, Committer: gianpaolof; The sign-off is missing.
Commit sha: 5e7b46f, Author: gianpaolo, Committer: GitHub; The sign-off is missing.
Look like there are 3 different committer?看起来有 3 个不同的提交者? Thanks谢谢
Since my commit history is short and i have not shared work, this is what I did:由于我的提交历史很短并且我没有共享工作,这就是我所做的:
1) remove all signed off 1)删除所有已注销
git filter-branch --msg-filter "sed /^Signed-off-by:/d"
2) git push -f 2) git 推-f
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.