Git 如何修复因urlopen错误[Errno-2]名称或服务未知而导致的repo上载失败?
我已经用repo创建了自己的git服务器。 git工作正常。 回购协议可以将代码同步到服务器。 但当我使用“回购上传”时,它失败了。 日志是Git 如何修复因urlopen错误[Errno-2]名称或服务未知而导致的repo上载失败?,git,repo,Git,Repo,我已经用repo创建了自己的git服务器。 git工作正常。 回购协议可以将代码同步到服务器。 但当我使用“回购上传”时,它失败了。 日志是 :~/retest/build/ap$ repo upload . Upload project ap/ to remote branch master: branch mifi ( 1 commit, Thu Jul 27 21:20:21 2017 +0800): 3da5c7d8 build:first build to null
:~/retest/build/ap$ repo upload .
Upload project ap/ to remote branch master:
branch mifi ( 1 commit, Thu Jul 27 21:20:21 2017 +0800):
3da5c7d8 build:first build
to null (y/N)? y
----------------------------------------------------------------------
FAILED ap/ mifi
(null: <urlopen error [Errno -2] Name or service not known>)
:~/retest/build/ap$ cat .git/config
core
repositoryformatversion = 0
filemode = true
filter "lfs"
smudge = git-lfs smudge --skip -- %f
remote "lqce"
url = http://url/for/git
review = null
projectname = mifi/ap
fetch = +refs/heads/*:refs/remotes/lqce/*
branch "mifi"
remote = lqce
merge = refs/heads/master
:~/retest/build/ap$ repo upload .
branch mifi ( 1 commit, Thu Jul 27 21:20:21 2017 +0800):
3da5c7d8 build::first build
to null (y/N)? y