Git 吉特:“;无法从远程存储库中读取";,当远程是另一个本地回购时

Git 吉特:“;无法从远程存储库中读取";,当远程是另一个本地回购时,git,merge,git-merge,Git,Merge,Git Merge,我正在使用存储库的本地副本AAA,并添加了另一个本地存储库BBB作为远程BBB。 具体来说,我已经尝试将其添加到 git remote add bbb ../../Path/to/BBB git remote add bbb ../../Path/to/BBB/ git remote add bbb ../../Path/to/BBB/.git 然而,当我发布 git fetch bbb 它失败并显示错误消息 fatal: '../../Path/to/BBB' does not appea

我正在使用存储库的本地副本
AAA
,并添加了另一个本地存储库
BBB
作为远程
BBB
。 具体来说,我已经尝试将其添加到

git remote add bbb ../../Path/to/BBB
git remote add bbb ../../Path/to/BBB/
git remote add bbb ../../Path/to/BBB/.git
然而,当我发布

git fetch bbb
它失败并显示错误消息

fatal: '../../Path/to/BBB' does not appear to be a git repository
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
给定的路径实际上是存储库的根目录:如果我发出

cd ../../Path/to/BBB
git status
git非常高兴地告诉我那里的情况。我可能做错了什么

(背景:我正在按照中的说明将BBB合并为AAA。)