git remote-v与config不同

git remote-v与config不同,git,version-control,repo,Git,Version Control,Repo,我在尝试同步时偶然发现奇怪的git问题 致命:未找到项目:平台\u测试 我的回购配置如下所示: [core] repositoryformatversion = 0 filemode = true bare = true [filter "lfs"] smudge = git-lfs smudge --skip -- %f [remote "origin"] url = ssh://my_gerrit_instance.com/platform/platf

我在尝试同步时偶然发现奇怪的git问题

致命:未找到项目:平台\u测试

我的回购配置如下所示:

[core]
    repositoryformatversion = 0
    filemode = true
    bare = true
[filter "lfs"]
    smudge = git-lfs smudge --skip -- %f
[remote "origin"]
    url = ssh://my_gerrit_instance.com/platform/platform_testing
    projectname = platform/platform_testing
    fetch = +refs/heads/*:refs/heads/*
但是GitRemote-v返回了

origin  ssh://my_gerrit_instance.com/platform_testing (fetch)
origin  ssh://my_gerrit_instance.com/platform_testing (push)
git是android镜像的一部分,我清单中的路径是正确的

<project groups="pdk-fs,pdk-cw-fs,cts" name="platform/platform_testing" path="platform_testing"/>

我删除了项目,并再次进行了回购同步,无法正常工作

尝试添加第二个遥控器时,也出现错误路径

试图用git远程设置url编辑远程设置,但没有帮助


这是突然发生的……几天前工作得非常好。

git remote是否设置了url来源ssh://my_gerrit_instance.com/platform/platform_testing也不工作吗?是否有人修改了
repo
的代码,您可以通过aosp代码库根目录下的
git log
git status
查看该代码?是
url..而不是您的
git config-l
中指定的
?git远程设置url不工作。但是你是对的,有人在这台服务器上定义了isnteadOf。在
组定义中,
pdk cw fs
是什么意思?这只是谷歌在一些Android平台上使用的组名,git不
git远程设置url来源ssh://my_gerrit_instance.com/platform/platform_testing
也不工作吗?是否有人修改了
repo
的代码,您可以通过aosp代码库根目录下的
git log
git status
查看该代码?是
url..而不是您的
git config-l
中指定的
?git远程设置url不工作。但是你是对的,有人在这台服务器上定义了isnteadOf。在
组定义中
pdk cw fs
是什么意思?这只是谷歌用于一些Android平台Git的组的名称