github:提交错误地退出

每次我在github上打开PR时,我都必须解决此失败的检查:

 "commits incorrectly signed off"

我不明白为什么。打开PR之前是否有命令来验证签名?

查看github输出:

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,Committer: GitHub; The sign-off is missing.

好像有3个不同的提交者? 谢谢

beida221 回答:github:提交错误地退出

由于我的提交历史很短,而且我还没有共享工作,所以这就是我所做的:

1)删除所有已签名

    git filter-branch --msg-filter "sed /^Signed-off-by:/d"

2)git push -f

本文链接:https://www.f2er.com/3161056.html

大家都在问