rk3399 git pull 代码提示失败
下载 Android SDK由于 SDK 比较大,请选择以下云盘之一下载 Firefly-RK3399_Android7.1.1_git_20170518.7z :
Android7.1源码下载链接
下载完成后先验证一下 MD5 码:
$ md5sum /path/to/Firefly-RK3399_Android7.1.1_git_20170518.7z
6d452f8ac58374c123c169dfac7c7776Firefly-RK3399_Android7.1.1_git_20170518.7z
确认无误后,就可以解压:
mkdir -p ~/proj/firefly-rk3399
cd ~/proj/firefly-rk3399
7z x /path/to/Firefly-RK3399_Android7.1.1_git_20170518.7z
git reset --hard
注意:解压后务必要先更新下远程仓库。
以下为从 gitlab 处更新的方法:
git remote rm origin
git remote add gitlab https://gitlab.com/TeeFirefly/FireNow-Nougat.git
git pull gitlab firefly-rk3399:firefly-rk3399
也可以到 https://gitlab.com/TeeFirefly/FireNow-Nougat/tree/firefly-rk3399 在线浏览源码。
然后同步更新代码:
git remote rm origin
git remote add gitlab https://gitlab.com/TeeFirefly/FireNow-Nougat.git
git pull gitlab firefly-rk3399:firefly-rk3399
一直失败:G46VW:~/work/rk3399-v2$ git remote rm origin
error: 不能移除配置小节 'remote.origin'G46VW:~/work/rk3399-v2$ git remote add gitlab https://gitlab.com/TeeFirefly/FireNow-Nougat.git
fatal: 远程 gitlab 已经存在。G46VW:~/work/rk3399-v2$ git pull gitlab firefly-rk3399:firefly-rk3399
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
页:
[1]