47. Adding a remote repository
Goals
- To add a bare repo as a remote to our original repo.
Let’s add the hello.git
repository to our original repository.
Run:
cd hello git remote add shared ../hello.git
NOTE: We are now in the hello repo.
Let’s add the hello.git
repository to our original repository.
cd hello git remote add shared ../hello.git
NOTE: We are now in the hello repo.