Skip to content

Instantly share code, notes, and snippets.

@brajeshwar
Created October 29, 2011 16:05
Show Gist options
  • Save brajeshwar/1324702 to your computer and use it in GitHub Desktop.
Save brajeshwar/1324702 to your computer and use it in GitHub Desktop.
Change Git Remote
// Remove the current remote, say, "origin"
$ git remote rm origin
// Add the new remote
$ git remote add origin [New Git Repo URL]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment