gpt4 book ai didi

eclipse - Egit安装路径错误

转载 作者:行者123 更新时间:2023-12-04 11:39:29 25 4
gpt4 key购买 nike

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/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com