workflow.html.haml 686 Bytes
Newer Older
1
%h3.page_title Workflow
randx's avatar
randx committed
2
.back_link
3
  = link_to help_path do
randx's avatar
randx committed
4
    ← to index
5 6 7 8 9 10
%hr

%ol.help
  %li
    %p Clone project
    .bash
11
      %pre.dark
12 13 14 15 16
        git clone git@example.com:project-name.git

  %li
    %p Create branch with your feature
    .bash
17
      %pre.dark
18 19 20 21 22
        git checkout -b $feature_name

  %li
    %p Write code. Commit changes
    .bash
23
      %pre.dark
24 25 26
        git commit -am "My feature is ready"

  %li
27
    %p Push your branch to GitLab
28
    .bash
29
      %pre.dark
30 31
        git push origin $feature_name

32
  %li
33 34
    %p Review your code on Commits page

35
  %li
36 37
    %p Create a merge request

38
  %li
39 40
    %p Your team lead will review code & merge it to main branch