git push error: not Signed-off-by author/committer/uploader in commit message footer
报错内容
git push error: not Signed-off-by author/committer/uploader in commit message footer
解决方案
点击查看代码
1. git commit --amend -s
# 回车后,(1)删除或者按照commit规范重新编辑备注的内容
# (2)删除之前生成的changed_id,commit后会再自动生成
# (3)-s 可以自动生成Signed-off-by
2. git push origin HEAD:refs/for/${branch}