Changing existing remote GIT URL
If you have defined a remote to a specific web hosting, for example origin to a bitbucket repository, but you want to change it for another, for example GitHub, you can do it easily.
Just use:
git remote set-url origin <newURL>
Written by Matías
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Scm
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#