You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In order to change the URL of a Git remote, you have to use the git remote set-url command and specify the name of the remote as well as the new remote URL to be changed.
git remote set-url <remote_name> <remote_url>
In order to achieve that, you would use the set-url command on the origin remote and you would specify the new URL.