gitlab-org--gitlab-foss/doc/workflow/workflow.md

30 lines
479 B
Markdown
Raw Normal View History

2014-05-27 12:12:15 +00:00
# Workflow
1. Clone project
```bash
git clone git@example.com:project-name.git
```
2. Create branch with your feature
```bash
git checkout -b $feature_name
```
3. Write code. Commit changes
```bash
git commit -am "My feature is ready"
```
4. Push your branch to GitLab
```bash
git push origin $feature_name
```
5. Review your code on commits page
6. Create a merge request
7. Your team lead will review the code & merge it to the main branch