6a58deb536
* .page_title class added. Used for better page headers * improved help page * added back links for help pages * show app version & revision on help page Backend changes: * Gitab::Version && Gitlab::Revision constants
42 lines
696 B
Plaintext
42 lines
696 B
Plaintext
- bash_lexer = Pygments::Lexer[:bash]
|
|
%h3 Workflow
|
|
.back_link
|
|
= link_to help_path do
|
|
← to index
|
|
%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
|
|
|