git clone时报错fatal: protocol 'https' is not supported

复现:

在 Git Bash 里使用 git clone时报 fatal: protocol 'https' is not supported

原因:

使用了复制粘贴地址。不管是 shift+ins 还是 右键 paste,https 和 clone 之间的空格有隐藏的符号,删除空格手工输入空格即可解决。

posted @ 2021-08-05 09:38  履行者1号  阅读(1417)  评论(0)    收藏  举报