[英]github: commits incorrectly signed off
每當我在 github 上打開 PR 時,我都必須解決這個失敗的檢查:
"commits incorrectly signed off"
我不明白為什么。 在打開 PR 之前是否有驗證簽收的命令?
查看 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.
看起來有 3 個不同的提交者? 謝謝
由於我的提交歷史很短並且我沒有共享工作,這就是我所做的:
1)刪除所有已注銷
git filter-branch --msg-filter "sed /^Signed-off-by:/d"
2) git 推-f
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.