eclipse - Egit安装路径错误

标签 eclipse egit

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 to Window > Preferences > Team > Git > Configuration > System Settings Tab
Click on Browse and find your git system installation.
Windows example: C:\Program Files (x86)\Git\etc\gitconfig

关于eclipse - Egit安装路径错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17776086/

相关文章:

java - 如何在 Eclipse 中将资源文件夹添加到我的 Java 项目

java - 错误: Could not find or load main class ExcelReadWrite

eclipse - EGit:如何创建新标签?

eclipse - 如何撤消 Git 回滚

java - 可执行Jar : Could not load main (but main is in ANT xml)

eclipse - 让 Theano 使用 GPU

eclipse - 在防火墙后面的Eclipse 3.6中,我在哪里可以找到eGit的updatesite zip?

eclipse - EGit 检测不到原生 Git 安装路径 "gitPrefix"

android - 将图像从 imageView 保存在 android 中

eclipse git 混淆 : How to merge & push?