git - renfengmei/doc GitHub Wiki

Q 1.

remote: ERROR:  In commit cf9ef53e6326502d10c621cbfff1ad8caabfc67f
remote: ERROR:  committer email address [email protected]
remote: ERROR:  does not match your user account.
remote: ERROR:
remote: ERROR:  The following addresses are currently registered:
remote: ERROR:    [email protected]
remote: ERROR:
remote: ERROR:  To register an email address, please visit:
remote: ERROR: http://10.126.39.129:8080/#/settings/contact remote: 
remote:

solution:

Change golbal configuration
Edit ~/.gitconfig
[user]
    name = fengxinfeng
    email = [email protected]
change the last commit
$git commit --amend --author 'fengxinfeng <[email protected]>'

Q2. [remote rejected] HEAD -> refs/for/android-goldfish-2.6.29 (not Signed-off-by author/committer/uploader) $git commit --amend --s Add Signed-off-by line by the committer at the end of the commit log message.

⚠️ **GitHub.com Fallback** ⚠️