[Git]-{修改远程仓库地址}

详细步骤

1.查看仓库地址 git remote -v

git remote -v
origin  http://10.1.128.48:12080/assr403t/bootloader (fetch)
origin  http://10.1.128.48:12080/assr403t/bootloader (push)

2. 修改为另一个仓库地址 git remote set-url origin <新地址>

git remote set-url origin  http://10.1.122.85:12080/assr403t/bootloader

3. 再次确认,地址修改正确 git remote -v

git remote -v
origin  http://10.1.122.85:12080/assr403t/bootloader (fetch)
origin  http://10.1.122.85:12080/assr403t/bootloader (push)

你可能感兴趣的:(git)