Skip to content

Instantly share code, notes, and snippets.

@ryanpadilha
Created August 15, 2017 01:47
Show Gist options
  • Save ryanpadilha/ed325492dd27f00adade913beaef25e7 to your computer and use it in GitHub Desktop.
Save ryanpadilha/ed325492dd27f00adade913beaef25e7 to your computer and use it in GitHub Desktop.
Moving a remote git repository
$ git remote show origin
$ git remote rm origin
$ git remote add origin git@newserver:project.git
$ git remote show origin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment