当我执行 git pull 时,我的存储库会自动从我克隆的原始git repo中提取。如何从子存储库中获取该git存储库的URL?

有帮助吗?

解决方案

此外, git remote -v 将显示所有遥控器的网址。

其他提示

使用 git remote

git remote show

这将列出所有遥控器。然后,例如:

git remote show origin
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top