Firefly开源社区

标题: Android7.1 git更新报错 [打印本页]

作者: papillondog    时间: 2018-5-31 22:53
标题: Android7.1 git更新报错
按照官网更新
git remote rm origin
git remote add gitlab https://gitlab.com/TeeFirefly/FireNow-Nougat.git
git pull gitlab firefly-rk3399:firefly-rk3399

报错如下,如何解决?
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 失败了是什么原因

无标题1.png (43.25 KB, 下载次数: 128)

无标题1.png





欢迎光临 Firefly开源社区 (https://dev.t-firefly.com/) Powered by Discuz! X3.1