30. Cloning repositories
- Learn how to make copies of the repositories.
If you are working in a team, the following 8 lessons are quite important to understand because you almost always have to work with cloned repositories.
01 Go to your
Now we are in the
$ cd ..
At this point you should be in your
repositories directory. It should contain a single repository named
02 Create a clone of the
Let's create a clone of the repository.
git clone work home
$ git clone work home
Cloning into 'home'...
Right now there should now be two repos in your working directory: the original
work repo and the cloned repository named