= preserve do was ignored for empty project page so was replaced with filter
This commit is contained in:
parent
533693ab41
commit
dc7507cfe7
1 changed files with 3 additions and 3 deletions
|
@ -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 @@
|
||||||
%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
|
||||||
|
|
Loading…
Reference in a new issue