我做了一些更改,想要提交代码。我收到这个错误:
repo upload bootable/recovery
Upload project bootable/recovery/ to remote branch refs/heads/cm-11.0:
branch cm-11.0 ( 1 commit, Fri Jan 3 21:42:34 2014 +0400):
*************************
to review.cyanogenmod.org (y/N)? y
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
----------------------------------------------------------------------
[FAILED] bootable/recovery/ cm-11.0 (Upload failed)
注意:我已经添加了ssh-rsa密钥,我在pc上的用户名与review.cyanogenmod.org上的用户名相同。我关注CyanogenMod’s instructions。
答案 0 :(得分:0)
将以下行添加到~/.gitconfig
:
[review.review.cyanogenmod.org]
username = <your gerrit username here>