Eclipse 开普勒 4.3.0.v20130530-1801
Egit 版本:3.0.0.201306101825-r
启动 Eclipse 并检查错误日志后,我收到以下警告:
EGit couldn't detect the installation path "gitPrefix" of native Git. Hence EGit can't respect system level Git settings which might be configured in ${gitPrefix}/etc/gitconfig under the native Git installation directory. The most important of these settings is core.autocrlf. Git for Windows by default sets this parameter to true in this system level configuration. The Git installation location can be configured on the Team > Git > Configuration preference page's 'System Settings' tab. This warning can be switched off on the Team > Git > Confirmations and Warnings preference page.
所以我需要在文件 gitconfig 中为 core.autocrlf 输入一个条目?
最佳答案
这种警告信息好像和这个Egit commit有关.
This post建议:
Solution:
Go toWindow > Preferences > Team > Git > Configuration > System Settings
Tab
Click onBrowse
and find your git system installation.
Windows example:C:\Program Files (x86)\Git\etc\gitconfig
关于eclipse - Egit安装路径错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17776086/