阅读(3665) (2)

47. Git 添加远程仓库

2016-02-24 16:06:06 更新

目的

将裸仓库作为远程仓库添加到我们的原始仓库中。

让我们添加 hello.git 到我们的原始仓库。

$ cd hello
$ git remote add shared ../hello.git

注意:现在在 hello 仓库中。