Git - Repoint Remote Repository URL
git remote set-url origin 'new_url'
The above command change the remote to a new URL.
For example, the following command changes remote git repository to project sample_proj under sample-org organization on Azure DevOps.
git remote set-url origin https://firstname.lastname@example.org/sample-org/sample_proj/_git/sample_proj
info Last modified by Raymond 26 days ago copyright This page is subject to Site terms.