summaryrefslogtreecommitdiff
path: root/doc/gitlab-basics
diff options
context:
space:
mode:
authorkaren Carias <karen@gitlab.com>2015-07-21 15:45:12 -0700
committerkaren Carias <karen@gitlab.com>2015-07-21 15:45:12 -0700
commit42130a97e992f608bf5deaf2afbe203f21d2e2b3 (patch)
treebed1dbae00109adda3eaa44c34485cb8a9670352 /doc/gitlab-basics
parent2c4210f53843392991f08a143f70e0f9d40f1c19 (diff)
downloadgitlab-ce-42130a97e992f608bf5deaf2afbe203f21d2e2b3.tar.gz
added Fork Project document
Diffstat (limited to 'doc/gitlab-basics')
-rw-r--r--doc/gitlab-basics/README.md2
-rw-r--r--doc/gitlab-basics/create-branch.md3
-rw-r--r--doc/gitlab-basics/fork-project.md19
3 files changed, 23 insertions, 1 deletions
diff --git a/doc/gitlab-basics/README.md b/doc/gitlab-basics/README.md
index 63fa7a90a26..d6272cd5912 100644
--- a/doc/gitlab-basics/README.md
+++ b/doc/gitlab-basics/README.md
@@ -15,3 +15,5 @@ Step-by-step guides on the basics of working with Git and GitLab.
* [Create a group](create-group.md)
* [Create a branch](create-branch.md)
+
+* [Fork a project](fork-project.md)
diff --git a/doc/gitlab-basics/create-branch.md b/doc/gitlab-basics/create-branch.md
index a8afbfe53d7..7556b0f663e 100644
--- a/doc/gitlab-basics/create-branch.md
+++ b/doc/gitlab-basics/create-branch.md
@@ -1,6 +1,7 @@
# How to create a branch
A branch is an independent line of development.
+
New commits are recorded in the history for the current branch, which results in taking the source from someone’s repository (the place where the history of your work is stored) at certain point in time, and apply your own changes to it in the history of the project.
To add changes to your GitLab project, you should create a branch. You can do it in your [shell](basic-git-commands.md) or in GitLab.
@@ -32,7 +33,7 @@ Fill out the information required:
![Branch info](basicsimages/branch_info.png)
### Note:
-
+
You will be able to find and select the name of your branch in the white box next to a project's name:
![Branch name](basicsimages/branch_name.png)
diff --git a/doc/gitlab-basics/fork-project.md b/doc/gitlab-basics/fork-project.md
new file mode 100644
index 00000000000..e97ec0959a4
--- /dev/null
+++ b/doc/gitlab-basics/fork-project.md
@@ -0,0 +1,19 @@
+# How to fork a project
+
+A fork is a copy of an original repository that you can put somewhere else
+or where you can experiment and apply changes that you can later decide if
+publishing or not, without affecting your original project.
+
+It takes just a few steps to fork a project in GitLab.
+
+Sign in to [gitlab.com](https://gitlab.com).
+
+Select a project on the right side of your screen:
+
+![Select a project](basicsimages/select_project.png)
+
+Click on the "fork" button on the right side of your screen:
+
+![Fork](simple_guide_images/fork.png)
+
+Click on the user or group to where you'd like to add the forked project.