gitlabhq/app/views/help/workflow.html.haml

39 lines
639 B
Plaintext
Raw Normal View History

2012-02-15 22:51:04 +01:00
- bash_lexer = Pygments::Lexer[:bash]
%h3 Workflow
%hr
%ol.help
%li
%p Clone project
.bash
%pre
2012-02-15 22:51:04 +01:00
git clone git@example.com:project-name.git
%li
%p Create branch with your feature
.bash
%pre
2012-02-15 22:51:04 +01:00
git checkout -b $feature_name
%li
%p Write code. Commit changes
.bash
%pre
2012-02-15 22:51:04 +01:00
git commit -am "My feature is ready"
%li
%p Push your branch to gitlabhq
.bash
%pre
2012-02-15 22:51:04 +01:00
git push origin $feature_name
%li
2012-02-15 22:51:04 +01:00
%p Review your code on Commits page
%li
2012-02-15 22:51:04 +01:00
%p Create a merge request
%li
2012-02-15 22:51:04 +01:00
%p Your team lead will review code & merge it to main branch