Firefly开源社区

Android7.1 git更新报错

29

积分

0

威望

0

贡献

游客

积分
29
发表于 2018-5-31 22:53:35     
按照官网更新
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.
回复

使用道具 举报

2918

积分

56

威望

46

贡献

高级创客

Rank: 6Rank: 6

积分
2918

优秀版主论坛元老

发表于 2018-6-5 16:10:11     
应该是git环境没有配好吧,可以随便拉个github的试试
回复

使用道具 举报

69

积分

0

威望

0

贡献

技术小白

积分
69
发表于 2018-7-9 10:59:59     
请问你这些更新的步骤哪里看的啊?    我找来找去也没看到有要rm origin 和add gitlab   ,,,https://gitlab.com/TeeFirefly/FireNow-Marshmallow只看见这个里面有个readme,而且是过时了的。
回复

使用道具 举报

113

积分

0

威望

0

贡献

技术小白

积分
113
发表于 2018-7-12 17:28:34     
教程里的步骤是错的,把git remote rm origin 改成git remote rm gitlab 试试,我另外一个帖子有写,http://dev.t-firefly.com/thread-14044-1-1.html
回复

使用道具 举报

64

积分

0

威望

0

贡献

技术小白

积分
64
发表于 2018-8-21 13:20:49     
git remote -v 查看当前已经存在的remote
回复

使用道具 举报

60

积分

0

威望

0

贡献

技术小白

积分
60
发表于 2018-9-21 11:28:39     
git reset --hard 失败了是什么原因
无标题1.png
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

友情链接 : 爱板网 电子发烧友论坛 云汉电子社区 粤ICP备14022046号-2
快速回复 返回顶部 返回列表