目的

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

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

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

注意:现在在 hello 仓库中。