Change URL of a remote in git
To change the URL for an existing remote in git, do:
git remote set-url <remote_name> <remote_url>
For example:
git remote set-url origin https://git-repo/new-repository.git
☝️ Backlinks
No notes are currently linking to "Change URL of a remote in git".