workflow.md 479 Bytes
Newer Older
Marin Jankovski's avatar
Marin Jankovski committed
1 2
# Workflow

3 4 5 6 7
1. Clone project

  ```bash
  git clone git@example.com:project-name.git
  ```
8

9 10 11 12 13 14
2. Create branch with your feature

  ```bash
  git checkout -b $feature_name
  ```

15
3. Write code. Commit changes
16 17 18 19 20 21

  ```bash
  git commit -am "My feature is ready"
  ```

4. Push your branch to GitLab
22

23 24 25 26
  ```bash
  git push origin $feature_name
  ```

27
5. Review your code on commits page
28 29
6. Create a merge request
7. Your team lead will review the code & merge it to the main branch