Cloning a Git repository
Let’s say you want to work on a project together with a friend. The two of you will be creating commits on the same project.
Let’s also say your friend has created the project. They initialized a repository on Github.
What you need to do next is to copy the project from the remote to your computer.
In Git, you can do this through a Git Clone.
A git clone makes it easier to copy the project. It does three things:
1. Initializing a local repository
2. Add the remote URL to your local repository
3. Pull the repository onto your computer.
Here’s today’s video, podcast and text versions.
- Text / Podcast version: https://zellwk.com/blog/cloning-a-git-repository
- Video: https://youtu.be/GYZBxXmrfWU
Enjoy!
Stay awesome,
Zell