blob: dd7eed89ea144f67ba7c8566c917d76cd71ef2e6 (
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
|
---
disqus_identifier: 'https://docs.gitlab.com/ee/workflow/workflow.html'
---
# Feature branch workflow
1. Clone project:
```shell
git clone git@example.com:project-name.git
```
1. Create branch with your feature:
```shell
git checkout -b $feature_name
```
1. Write code. Commit changes:
```shell
git commit -am "My feature is ready"
```
1. Push your branch to GitLab:
```shell
git push origin $feature_name
```
1. Review your code on commits page.
1. Create a merge request.
1. Your team lead will review the code & merge it to the main branch.
|