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.

SVN?
© 2011-2014 Git How To. All rights reserved / Contact us