git 修改远程仓库

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

git remote -v

2. 更换为新的地址

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

3. 重新操作步骤1

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

  

猜你喜欢

转载自www.cnblogs.com/yangxinpython/p/12793559.html
今日推荐