39. Adding a remote repository
Goals
- To add a bare repo as a remote to our original repo.
Let's add the work.git
repository to our original repository.
Run
cd work
git remote add shared ../work.git
We are now in the work
repository.
Let's add the work.git
repository to our original repository.
cd work
git remote add shared ../work.git
We are now in the work
repository.