1、 git bash进行配置
- git remote -v // 查看原始的fetch和push路径
git remote -v
- git remote set-url origin https://github.com/xxx/xxx.git // 更换新的仓库地址
git remote set-url origin https://github.com/xxx/xxx.git
git remote -v
git remote set-url origin https://github.com/xxx/xxx.git