git配置远程。起源。网址
# change remote url
git remote set-url origin https://github.com/USERNAME/REPOSITORY.git
更改远程url git
git remote set-url origin https://hostname/USERNAME/REPOSITORY.git
设置origin url git
git remote add origin <git_url>
git远程chage url
git remote -v
# View existing remotes
# origin https://github.com/user/repo.git (fetch)
# origin https://github.com/user/repo.git (push)
git remote set-url origin https://github.com/user/repo2.git
# Change the 'origin' remote's URL
git remote -v
# Verify new remote URL
# origin https://github.com/user/repo2.git (fetch)
# origin https://github.com/user/repo2.git (push)
git设置远程源url
git remote set-url origin new.git.url/here