我可以将本地存储库用作git远程

时间:2012-08-21 14:57:32

标签: git

我在本地有两个存储库,A和B.我可以使用A的本地副本作为B中的遥控器吗?

这样的东西
git remote add A file:///path/to/repo/

1 个答案:

答案 0 :(得分:5)

是的,就像一个魅力。

git remote add A file:///path/to/repo/
相关问题