summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHerman van Rink <rink@initfour.nl>2017-10-20 08:58:41 +0200
committerHerman van Rink <rink@initfour.nl>2017-10-20 09:02:31 +0200
commit1da6c9c06cd39792d4eadcdfa4f17fa4b895272f (patch)
treed26bebfe9e37835ab3db33dda6ff67778e5d5570
parentb4dc0ba2c57c150f847d255b0d2d831ff60728ad (diff)
downloadgitlab-ce-1da6c9c06cd39792d4eadcdfa4f17fa4b895272f.tar.gz
Suggest to rename the remote for existing repositories
-rw-r--r--app/views/projects/empty.html.haml1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/projects/empty.html.haml b/app/views/projects/empty.html.haml
index c9956183e12..af564b93dc3 100644
--- a/app/views/projects/empty.html.haml
+++ b/app/views/projects/empty.html.haml
@@ -72,6 +72,7 @@
%pre.light-well
:preserve
cd existing_repo
+ git remote rename origin old-origin
git remote add origin #{ content_tag(:span, default_url_to_repo, class: 'clone')}
git push -u origin --all
git push -u origin --tags