Git: Changing a Remote's URL

I setup a repo that I use as a base for any new app that I build. Each time I use it I clone and when I do that it sets the remote url to the one I cloned it from.

It's really easy to change it, but found myself looking it up each time.

This is here for a quick reference.

Git: Changing a Remote's URL

Check where it's currently pointing with:

git remote -v  

Then if you need to change it you can set it with:

git remote set-url origin https://your-repot.com/repo.git  

Check to see if it was updated successfully with:

git remote -v  

Done!