Adding a Remote Repository

Goals

  • Add the bare repository as a remote to our original repository.

Let’s add the hello.git repo to our original repo.

Execute:

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

NOTE: Now in the hello repository.