Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'doc/gitlab-basics')
-rw-r--r--doc/gitlab-basics/start-using-git.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/gitlab-basics/start-using-git.md b/doc/gitlab-basics/start-using-git.md
index 0d9994c9925..f897083afb8 100644
--- a/doc/gitlab-basics/start-using-git.md
+++ b/doc/gitlab-basics/start-using-git.md
@@ -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