macOS 执行git命令时出现fatal: protocol ‘git@https‘ is not supported

macOS 执行git命令时出现fatal: protocol ‘git@https‘ is not supported 

 出现fatal: protocol 'git@https' is not supported

解决方案:打开当前文件夹 shift+command+. 显示隐藏文件 打开.git文件夹下的config

macOS 执行git命令时出现fatal: protocol ‘git@https‘ is not supported

 

将git@删去

macOS 执行git命令时出现fatal: protocol ‘git@https‘ is not supported 

 然后重新设置远程仓库

macOS 执行git命令时出现fatal: protocol ‘git@https‘ is not supported

这样就成功啦

如果出现

fatal: 'origin' does not appear to be a git repository

fatal: Could not read from remote repository.

Please make sure you have the correct access rights

and the repository exists.

也可以试着这样做  反正在我的电脑上可以

  

上一篇:【ue4】fatal error C1060: “编译器的堆空间不足“


下一篇:[ERROR] [FATAL] InnoDB: Semaphore