Change remote url of your Git repository

suggest change

You may want to do this if the remote repository has moved. The command for changing the remote URL is:

git remote set-url

It takes two arguments: an existing remote name (origin, upstream) and the URL.

Check your current remote URL:

git remote -v
origin    https://bitbucket.com/develop/myrepo.git (fetch)
origin    https://bitbucket.com/develop/myrepo.git (push)

Change your remote URL:

git remote set-url origin https://localserver/develop/myrepo.git

Check the remote URL again:

git remote -v
origin    https://localserver/develop/myrepo.git (fetch)
origin    https://localserver/develop/myrepo.git (push)

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents