【发布时间】:2017-03-02 10:35:45
【问题描述】:
BitBake 在内部使用以下 git 命令来获取:
$ git -c core.fsyncobjectfiles=0 clone --bare --mirror git://github.com/google/leveldb.git
Error Log:
$<50>ERROR: Fetcher failure: Fetch command failed with exit code 128, output:
Cloning into bare repository '/home/rajeshgopu/github.com.google.leveldb.git'...
fatal: Project not found: github.com/google/leveldb
fatal: Could not read from remote repository.
如果我手动尝试相同的命令,它会失败。我在下面编辑它然后它工作:
git -c core.fsyncobjectfiles=0 clone --bare --mirror git@github.com:google/leveldb.git
如何在.gitconfig 中进行配置,而不是在所有项目中手动更改?
我尝试了以下但得到了同样的错误:
[url "git@github.com:"]
insteadOf = git://github.com
【问题讨论】:
标签: git github bitbake openembedded