gitlab-org--gitlab-foss/app/views/help/workflow.html.haml

41 lines
686 B
Text
Raw Normal View History

%h3.page_title Workflow
.back_link
= link_to help_path do
← to index
2012-02-15 16:51:04 -05:00
%hr
%ol.help
%li
%p Clone project
.bash
%pre.dark
2012-02-15 16:51:04 -05:00
git clone git@example.com:project-name.git
%li
%p Create branch with your feature
.bash
%pre.dark
2012-02-15 16:51:04 -05:00
git checkout -b $feature_name
%li
%p Write code. Commit changes
.bash
%pre.dark
2012-02-15 16:51:04 -05:00
git commit -am "My feature is ready"
%li
%p Push your branch to GitLab
2012-02-15 16:51:04 -05:00
.bash
%pre.dark
2012-02-15 16:51:04 -05:00
git push origin $feature_name
%li
2012-02-15 16:51:04 -05:00
%p Review your code on Commits page
%li
2012-02-15 16:51:04 -05:00
%p Create a merge request
%li
2012-02-15 16:51:04 -05:00
%p Your team lead will review code & merge it to main branch