summaryrefslogtreecommitdiff
path: root/doc/user/workflow/workflow.md
diff options
context:
space:
mode:
Diffstat (limited to 'doc/user/workflow/workflow.md')
-rw-r--r--doc/user/workflow/workflow.md31
1 files changed, 31 insertions, 0 deletions
diff --git a/doc/user/workflow/workflow.md b/doc/user/workflow/workflow.md
new file mode 100644
index 00000000000..f70e41df842
--- /dev/null
+++ b/doc/user/workflow/workflow.md
@@ -0,0 +1,31 @@
+# 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.