gitlab-org--gitlab-foss/doc/workflow/workflow.md
Marcel Amirault 298252bb6b Fix whitespace in topic, university, workflow docs
Many code blocks are 4spaced, and they render in GitLab
without coloring as a result, even though they are
fenced with a language label. If in a list, other items
will render as being in a code block too, even if not
meant to. This fixes all these issues, and cleans up
minor white space issues in /topic, /university, /update
and /workflow docs.
2019-07-31 10:29:10 +00:00

31 lines
515 B
Markdown

# Feature branch workflow
1. Clone project:
```bash
git clone git@example.com:project-name.git
```
1. Create branch with your feature:
```bash
git checkout -b $feature_name
```
1. Write code. Commit changes:
```bash
git commit -am "My feature is ready"
```
1. Push your branch to GitLab:
```bash
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.