workflow.html.haml
646 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
- bash_lexer = Pygments::Lexer[:bash]
%h3 Workflow
%hr
%ol.help
  %li
    %p Clone project
    .bash
      %pre 
        git clone git@example.com:project-name.git
  %li
    %p Create branch with your feature
    .bash
      %pre 
        git checkout -b $feature_name
  %li
    %p Write code. Commit changes
    .bash
      %pre 
        git commit -am "My feature is ready"
  %li
    %p Push your branch to gitlabhq
    .bash
      %pre 
        git push origin $feature_name
  %li 
    %p Review your code on Commits page
  %li 
    %p Create a merge request
  %li 
    %p Your team lead will review code & merge it to main branch