从本地服务器向云端服务器提交代码的过程中,碰到了以下问题:
root@localhost:~/repo/$ git push qnx HEAD:refs/for/develop
Counting objects: 29, done.
Delta compression using up to 32 threads.
Compressing objects: 100% (29/29), done.
Writing objects: 100% (29/29), 12.95 KiB | 6.48 MiB/s, done.
Total 29 (delta 11), reused 1 (delta 0)
remote: Resolving deltas: 100% (11/11)
remote: Processing changes: refs: 1, done
remote: ERROR: commit 72a9a5e: email address *@*s not registered in your account, and you lack 'forge committer' permission.
remote: The following addresses are currently registered:
remote: *@*
remote: To register an email address, visit:
remote: */*
remote:
remote:
To ssh://*/*
! [remote rejected] HEAD:refs/for/develop
error: failed to push some refs to 'remote'
root@localhost:~/repo$ git config --global user.email *@*.com
root@localhost:~/repo$ git commit --amend --reset-author