一、Git修改远程仓库地址方法:
1.直接修改config文件
2.使用命令修改远程仓库地址
git remote 查看所有远程仓库, git remote xxx 查看指定远程仓库地址
git remote set-url origin http:/xxxx/john/git_test.git
3.删除仓库,添加新仓库
1.git remote 查看所有远程仓库, git remote xxx 查看指定远程仓库地址
2.git remote rm origin
3.git remote add origin http://xxx/john/git_test.git
更多:
使用Git获取最新版本到本地
查看当前Git工具的版本
Git重置登录密码问题,Git-remote Incorrect username or password ( access token )