gerrit pits

来自个人维基
2020年5月22日 (五) 13:46free6d1823讨论 | 贡献的版本

跳转至: 导航搜索

git push Error:

! [remote rejected] HEAD -> refs/for/master (commit e65b7ce: not Signed-off-by author/committer/uploader in message footer)

Solution:

git commit -s --amend

check with git log, you will see:

commit a78ea013a3aed5150cc8089ff40e41a64afae0d6 (HEAD -> master)
Author: name <name@domain.com>
Date:   Fri May 22 12:47:55 2020 +0800
 
    vendor first release 20200320
 
    Change-Id: I0e331aaa99ae15b70133e3b5ea6e7f45eeb1ee98
    Signed-off-by: name <name@domain.com>