Last Updated: February 25, 2016
·
360
· matiasdim

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>