集册 沉浸式学 Git 添加远程仓库

添加远程仓库

欢马劈雪     最近更新时间:2020-08-04 05:37:59

103

目的

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

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

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

注意:现在在 hello 仓库中。