summaryrefslogtreecommitdiff
path: root/doc/gitlab-basics/create-branch.md
diff options
context:
space:
mode:
authorkaren Carias <karen@gitlab.com>2015-07-09 15:33:42 -0700
committerkaren Carias <karen@gitlab.com>2015-07-09 15:33:42 -0700
commitec72aaeae7c478c671c11bd678c3bd22d79e1549 (patch)
tree626c0cd4873212337bbdb270a590d62045cc8014 /doc/gitlab-basics/create-branch.md
parentadd283bf685141b6ce6e41045c4c592fc3fd5b44 (diff)
downloadgitlab-ce-ec72aaeae7c478c671c11bd678c3bd22d79e1549.tar.gz
added new doc about creating a new branch
Diffstat (limited to 'doc/gitlab-basics/create-branch.md')
-rw-r--r--doc/gitlab-basics/create-branch.md37
1 files changed, 37 insertions, 0 deletions
diff --git a/doc/gitlab-basics/create-branch.md b/doc/gitlab-basics/create-branch.md
new file mode 100644
index 00000000000..ea37bc377ed
--- /dev/null
+++ b/doc/gitlab-basics/create-branch.md
@@ -0,0 +1,37 @@
+# How to create a branch
+
+To add changes to your project in GitLab, you should create a branch.
+
+To create a new branch, 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 "commits" on the menu on the left side of your screen:
+
+![Commits](basicsimages/commits.png)
+
+Click on the "branches" tab:
+
+![Branches](basicsimages/branches.png)
+
+Click on the "new branch" button on the right side of the screen:
+
+![New branch](basicsimages/newbranch.png)
+
+Fill out the information required:
+
+1. Add a name for your new branch (you can't add spaces, so you can use hyphens or underscores)
+
+1. On the "create from" space, add the word: master or the name of the master branch
+
+1. Click on the button "create branch"
+
+![Branch info](basicsimages/branch_info.png)
+
+After you created a new branch, click on the files on which you'll be working.
+
+You will be able to find and select the name of your branch in the white box next to the project's name:
+
+![Branch name](basicsimages/branch_name.png)