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

create-branch.md « gitlab-basics « doc - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: ea37bc377edd139e04471957d6d7a0c4e9162d35 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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)