BigW Consortium Gitlab

workflow.md 534 Bytes
Newer Older
1
# Feature branch workflow
2

3
1.  Clone project:
4

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

9
1.  Create branch with your feature:
10

11 12 13
    ```bash
    git checkout -b $feature_name
    ```
14

15
1.  Write code. Commit changes:
16

17 18 19
    ```bash
    git commit -am "My feature is ready"
    ```
20

21
1.  Push your branch to GitLab:
22

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

27 28 29 30 31
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.