BigW Consortium Gitlab

Commit dc7507cf by Dmitriy Zaporozhets

= preserve do was ignored for empty project page so was replaced with filter

parent 533693ab
...@@ -5,14 +5,14 @@ ...@@ -5,14 +5,14 @@
%fieldset %fieldset
%legend Git global setup: %legend Git global setup:
%pre.dark %pre.dark
= preserve do :preserve
git config --global user.name "#{current_user.name}" git config --global user.name "#{current_user.name}"
git config --global user.email "#{current_user.email}" git config --global user.email "#{current_user.email}"
%fieldset %fieldset
%legend Create Repository %legend Create Repository
%pre.dark %pre.dark
= preserve do :preserve
mkdir #{@project.path} mkdir #{@project.path}
cd #{@project.path} cd #{@project.path}
git init git init
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
%fieldset %fieldset
%legend Existing Git Repo? %legend Existing Git Repo?
%pre.dark %pre.dark
= preserve do :preserve
cd existing_git_repo cd existing_git_repo
git remote add origin #{@project.url_to_repo} git remote add origin #{@project.url_to_repo}
git push -u origin master git push -u origin master
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment