- 修改远程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
本文标题:Git笔记
本文链接:https://www.haomeiwen.com/subject/zlturttx.html
网友评论