PHPStorm配置git / Could not read from remote repository

1.首先本地要安装git

2.本地的ssh key 添加到gitlab/github上

3.编辑器中配置git连接

    a.在PHPstrom中文件-》设置 搜索git 如下:

    b.点击path to git executable,在电脑中找到git的安装目录

       例如我的git安装目录为D:\work_software\Git\bin\git.exe(一定要选择git.exe文件)

    c.在SSH excutable中,选择Native而不是Buildin,即使用系统本地的git,而不是phpStorm自带的git执行文件





猜你喜欢

转载自blog.csdn.net/qq_35979073/article/details/80321606
今日推荐