diff options
author | Sean McGivern <sean@mcgivern.me.uk> | 2017-10-24 14:29:15 +0300 |
---|---|---|
committer | Sean McGivern <sean@mcgivern.me.uk> | 2017-10-24 14:29:15 +0300 |
commit | 7624824cc3deadd423b76c4f78c65b97ea8d82b2 (patch) | |
tree | b57406d23f5559026d7fe9c1c0e0f56b0564a985 | |
parent | a65b29749140323168415f178a698f5df8ab6651 (diff) | |
parent | 24077144fc6dd9e08ad357ed6b9e72b9ed500fed (diff) |
Merge branch 'suggest-rename-origin' into 'master'
Suggest to rename the remote for existing repositories
See merge request gitlab-org/gitlab-ce!14970
-rw-r--r-- | app/views/projects/empty.html.haml | 1 | ||||
-rw-r--r-- | changelogs/unreleased/14970-suggest-rename-remote.yml | 5 |
2 files changed, 6 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 diff --git a/changelogs/unreleased/14970-suggest-rename-remote.yml b/changelogs/unreleased/14970-suggest-rename-remote.yml new file mode 100644 index 00000000000..68a77eb446d --- /dev/null +++ b/changelogs/unreleased/14970-suggest-rename-remote.yml @@ -0,0 +1,5 @@ +--- +title: Suggest to rename the remote for existing repository instructions +merge_request: 14970 +author: helmo42 +type: added |