git 修改远程仓库

1. 查看当前仓库地址信息

git remote -v

2. 更换为新的地址

git remote set-url origin https://github.com/istester-com/21DayLinux.git

3. 重新操作步骤1

git remote -v
确认下是否修改到

  

原文地址:https://www.cnblogs.com/yangxinpython/p/12793559.html