- 修改遠程URL
# 查看遠程URL
$ git remote -v
origin https://git.coding.net/doingnothing/ATintin.git (fetch)
origin https://git.coding.net/doingnothing/ATintin.git (push)
# 修改遠程分支origin的url
$ git remote set-url origin https://git.coding.net/lhtin/ATintin.git
# 查看遠程URL
$ git remote -v
origin https://git.coding.net/doingnothing/ATintin.git (fetch)
origin https://git.coding.net/doingnothing/ATintin.git (push)
# 修改遠程分支origin的url
$ git remote set-url origin https://git.coding.net/lhtin/ATintin.git