git: set new origin

In case the URL of your remote git repository has changed, update your local repository as follows:

git remote set-url origin git@server:path/to/repository.git

 

This entry was posted in git. Bookmark the permalink.