现在的位置: 首页 > 综合 > 正文

Sublime: Unable to find git.exe错误

2012年03月31日 ⁄ 综合 ⁄ 共 525字 ⁄ 字号 评论关闭

使用Package Control安装插件时,如果出现下面的错误提示:

Java代码
  1. Package Control:  
  2. Unable to find git.exe. Please set the git_binary setting by accessing the Preferences > Package Settings > Package Control > Settings – User menu entry. The Settings – Default entry can be used for reference, but changes to that will be overwritten upon next upgrade.  

 

原因在这个帖子里已经有说明:

是因为ST2在Packages目录下发现Git Repo(你曾经用git clone的方法下载过插件),因此ST2每次都试图为你将那个插件更新到最新的版本。想要忽略这个错误,在Preferences -> Package Settings -> Package Control -> Settings - User添加:

Java代码

  1. "ignore_vcs_packages":true 

 

抱歉!评论已关闭.