Thursday, August 12, 2021

Change URL of Git Repo

 To change the URL of Git Repo from one to another is


run 

git remote -v

to see existing URL from within your repo folder.

run 

git remote set-url origin {newURL}


Done!

You can run git remote -v again to make sure that update is successful.