报错如下,如何解决?
git remote rm origin
error: Could not remove config section 'remote.origin'
root@ubuntu:~/Desktop/RK399_Android7.1.2# git remote add gitlab https://gitlab.com/TeeFirefly/FireNow-Nougat.git
fatal: remote gitlab already exists.
root@ubuntu:~/Desktop/RK399_Android7.1.2# git pull gitlab firefly-rk3399:firefly-rk3399
The authenticity of host 'gitlab.com (52.167.219.168)' can't be established.
ECDSA key fingerprint is f1:d0:fb:46:73:7a:70:92:5a:ab:5d:ef:43:e2:1c:35.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'gitlab.com,52.167.219.168' (ECDSA) to the list of known hosts.
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.作者: zhansb 时间: 2018-6-5 16:10
应该是git环境没有配好吧,可以随便拉个github的试试作者: wjk 时间: 2018-7-9 10:59
请问你这些更新的步骤哪里看的啊? 我找来找去也没看到有要rm origin 和add gitlab ,,,https://gitlab.com/TeeFirefly/FireNow-Marshmallow只看见这个里面有个readme,而且是过时了的。作者: cl05220726 时间: 2018-7-12 17:28
教程里的步骤是错的,把git remote rm origin 改成git remote rm gitlab 试试,我另外一个帖子有写,http://dev.t-firefly.com/thread-14044-1-1.html作者: shang 时间: 2018-8-21 13:20
git remote -v 查看当前已经存在的remote作者: 15822579256 时间: 2018-9-21 11:28
git reset --hard 失败了是什么原因