Git报错:fatal: I don't handle protocol 'https'

fatal: I don’t handle protocol ‘https’

有时对于新建仓库,把本地的代码往上push的时候有这样报错:
这里写图片描述
问题:可能是之前git remote add 这个仓库地址存在问题
解决:删除原本错误的地址,再重新进行添加

$ git remote rm origin
$ git remote add origin https://github.com/icepoint666/SpringbootRestful

猜你喜欢

转载自blog.csdn.net/qq_37423198/article/details/80220514
今日推荐