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执行文件



PHPStorm配置git / Could not read from remote repository

PHPStorm配置git / Could not read from remote repository

相关文章:

  • 2022-12-23
  • 2021-12-27
  • 2022-12-23
  • 2022-12-23
  • 2021-08-23
  • 2021-12-05
猜你喜欢
  • 2022-12-23
  • 2021-09-22
  • 2021-10-29
  • 2021-10-06
  • 2021-08-24
  • 2022-01-17
  • 2022-02-17
相关资源
相似解决方案