Commit 5af1fa76 authored by Andrew Fontaine's avatar Andrew Fontaine

Add `git clone` to List of Basic Git Commands

`git clone` is a common entry point to collaborators on an existing
project, and should be near the top, as it would be one of the first
commands run when getting set up.
parent 78048629
......@@ -68,6 +68,20 @@ git config --global --list
## Basic Git commands
### Clone down a repository
This is for you to get a copy of the repository from a ongoing project, where REPOSITORY-URL is the url to your git repository. It will be placed in a folder that has the same name as your repository by default.
```bash
git clone REPOSITORY-URL
```
Once your repository is cloned, you can change your working directory to the new folder and use the other commands below.
```
cd REPOSITORY
```
### Go to the master branch to pull the latest changes from there
```bash
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment