GIT更换连接方式
1-使用 git remote -v 查看对应的克隆地址:
git remote -v origin https://github.com/username/repository.git (fetch) origin https://github.com/username/repository.git (push)
可以看到确实是以https方式clone的
2-删除并重新添加:
git remote rm origin git remote add origin :username/repository.git
3-push一下
git push -u origin master
相关推荐
LynnOhYeah 2020-07-18
阿左的小站 2020-06-24
leehbhs 2020-06-20
ITfooter 2020-06-16
Balmunc 2020-06-14
chaocc0xs 2020-06-08
ITfooter 2020-06-08
Earlyuan 2020-06-03
lovetg0 2020-05-31
tianyafengxin 2020-05-30
阿左的小站 2020-05-20
炼金术士lee 2020-05-20
MrHaoNan 2020-05-19
JumpingYeah 2020-05-12
Equation 2020-05-07
ArkShen 2020-05-04