= 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
|
||||
%legend Git global setup:
|
||||
%pre.dark
|
||||
= preserve do
|
||||
:preserve
|
||||
git config --global user.name "#{current_user.name}"
|
||||
git config --global user.email "#{current_user.email}"
|
||||
|
||||
%fieldset
|
||||
%legend Create Repository
|
||||
%pre.dark
|
||||
= preserve do
|
||||
:preserve
|
||||
mkdir #{@project.path}
|
||||
cd #{@project.path}
|
||||
git init
|
||||
|
@ -25,7 +25,7 @@
|
|||
%fieldset
|
||||
%legend Existing Git Repo?
|
||||
%pre.dark
|
||||
= preserve do
|
||||
:preserve
|
||||
cd existing_git_repo
|
||||
git remote add origin #{@project.url_to_repo}
|
||||
git push -u origin master
|
||||
|
|
Loading…
Reference in a new issue