This content originally appeared on DEV Community and was authored by Nick Raphael
Hi all,
I recently got myself into the situation where all my local git repos had the wrong remote addresses. This was caused by a change up on our git account.
You can see the url that git is currently using by opening the 'config' file in the .git folder. You'll see it under the '[remote "origin"]' section.
Luckily this is pretty trivial to fix. You can either update the url directly in the config file, or run the following command...
git remote set-url origin new.git.url/xyz
This content originally appeared on DEV Community and was authored by Nick Raphael

Nick Raphael | Sciencx (2021-12-07T22:53:52+00:00) How to change the url of a remote git repo…. Retrieved from https://www.scien.cx/2021/12/07/how-to-change-the-url-of-a-remote-git-repo/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.