added how to clone a repo (#28708)

* added how to clone a repo

* fix: changed git init to git clone
pull/30878/head^2
Luka Kidric 2019-01-01 18:20:48 +01:00 committed by Christopher McCormack
parent 783239bf4d
commit 2f44ff860d
1 changed files with 4 additions and 0 deletions

View File

@ -113,6 +113,10 @@ Once Git is installed and configured on your computer, you need to initialize it
It's important that the Git directory is installed in the project root folder. Git can track files in subfolders, but it won't track files located in a parent folder relative to the Git directory.
### Clone a Git Project <a name="clone-a-git-project"></a>
You can also clone a project from github by using the command `git clone` followed by the link. An example of a link is `https://github.com/example/example.git`
### Get Help in Git <a name="get-help-in-git"></a>
If you forget how any command works in Git, you can access Git help from the command line several ways:
```shell