问题描述
如何解决这个问题?
警告:EGit无法检测到原生Git的安装路径gitPrefix。因此,EGit无法遵守系统级别
的Git设置,这些设置可能会在原生Git安装目录下的$ {gitPrefix} / etc / gitconfig中进行配置。
正如我在中所建议的那样,它可以链接到缺少Git安装(EGit依赖系统配置路径)。
安装: Git作为如果您在Windows上:(将其解压缩到您想要的任何位置,然后添加 或者从 =https://launchpad.net/+help-soyuz/ppa-sources-list.html =nofollow noreferrer>定制PPA(个人包档案)如果你在Linux上
C:\path\to\Po rtableGit-1.8.4-preview20130916\bin
到 PATH
环境变量)
How to fix this problem?
Warning: EGit couldn't detect the installation path "gitPrefix" of native Git. Hence EGit can't respect system levelGit settings which might be configured in ${gitPrefix}/etc/gitconfig under the native Git installation directory.
As I suggested in "Egit installation path error", it can be linked to the absence of a Git installation (which EGit relies on for the system config path).
Install:
Git as a portable msysgit if you are on Windows:
PortableGit-1.8.4-preview20130916.7z
(unzip it anywhere you want, and add theC:\path\to\PortableGit-1.8.4-preview20130916\bin
to thePATH
environment variable)Or Git using the latest Git Releases from a custom PPA (Personal Package Archive) if you are on Linux
这篇关于EGit无法检测到安装路径“gitPrefix”本地Git的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!