Commit 1da6c9c0 authored by Herman van Rink's avatar Herman van Rink

Suggest to rename the remote for existing repositories

parent b4dc0ba2
...@@ -72,6 +72,7 @@ ...@@ -72,6 +72,7 @@
%pre.light-well %pre.light-well
:preserve :preserve
cd existing_repo cd existing_repo
git remote rename origin old-origin
git remote add origin #{ content_tag(:span, default_url_to_repo, class: 'clone')} git remote add origin #{ content_tag(:span, default_url_to_repo, class: 'clone')}
git push -u origin --all git push -u origin --all
git push -u origin --tags git push -u origin --tags
......
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