Skip to content

Instantly share code, notes, and snippets.

@seanbuscay
Created December 9, 2013 23:18
Show Gist options
  • Save seanbuscay/5e8a8483ee80e3adcd56 to your computer and use it in GitHub Desktop.
Save seanbuscay/5e8a8483ee80e3adcd56 to your computer and use it in GitHub Desktop.
git remote -v
# View existing remotes
# origin https://github.com/user/repo.git (fetch)
# origin https://github.com/user/repo.git (push)
git remote set-url origin https://github.com/user/repo2.git
# Change the 'origin' remote's URL
git remote -v
# Verify new remote URL
# origin https://github.com/user/repo2.git (fetch)
# origin https://github.com/user/repo2.git (push)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment