Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarin Jankovski <maxlazio@gmail.com>2013-09-13 12:12:42 +0400
committerMarin Jankovski <maxlazio@gmail.com>2013-09-13 12:12:42 +0400
commit91e112ffe2a2c16b3b5e2cd4ce032cb9fa769660 (patch)
tree52225346f35ede601f03849dcea805b347584097 /app/views/projects/empty.html.haml
parente1ca9de0dabb9d1da13073110072b3327280eb55 (diff)
Replace remote url on selection.
Diffstat (limited to 'app/views/projects/empty.html.haml')
-rw-r--r--app/views/projects/empty.html.haml6
1 files changed, 4 insertions, 2 deletions
diff --git a/app/views/projects/empty.html.haml b/app/views/projects/empty.html.haml
index 99e334cc6b8..001857cefda 100644
--- a/app/views/projects/empty.html.haml
+++ b/app/views/projects/empty.html.haml
@@ -29,7 +29,8 @@
touch README
git add README
git commit -m 'first commit'
- git remote add origin #{@project.url_to_repo}
+ %span.clone= "git remote add origin #{@project.url_to_repo}"
+ :preserve
git push -u origin master
%fieldset
@@ -37,7 +38,8 @@
%pre.dark
:preserve
cd existing_git_repo
- git remote add origin #{@project.url_to_repo}
+ %span.clone= "git remote add origin #{@project.url_to_repo}"
+ :preserve
git push -u origin master
- if can? current_user, :remove_project, @project