Tag Archives: origin

How to change git url

I was searching about how to change url for git repo.
Then i came to a stackoverflow post http://stackoverflow.com/questions/2432764/change-the-uri-url-for-a-remote-git-repository/2432799#2432799
Its pretty easy to change url with only one command:

git remote set-url origin newurl

And thats it, you can verify newly set url by entering following command:

git remote show origin