EGit版本如何映射到Git版本 [英] How do EGit versions map to Git versions

查看:118
本文介绍了EGit版本如何映射到Git版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

GitHub上的Git源代码镜像( https://github.com/git/git )说最新版本的Git是2.7.4。我在Spring Tool Suite(Eclipse Luna SR1)上使用EGit 3.5.2,所以版本号显然不符合Git版本。有没有办法追溯这个版本的EGit是什么版本的?

The Git Source Code Mirror on GitHub (https://github.com/git/git) says that the most recent version of Git is 2.7.4. I'm using EGit 3.5.2 on Spring Tool Suite (Eclipse Luna SR1), so that version number obviously doesn't correspond to a Git version. Is there any way to trace back what version of Git this version of EGit is based off of?

我在这里检查过,但它只将EGit的版本映射到Eclipse的版本...

I checked here, but it only maps versions of EGit to versions of Eclipse...

https://wiki.eclipse.org/EGit/FAQ#What_is_Git.3F

推荐答案

如你所知,EGit似乎不是基于特定版本的Git。 EGit 文档有以下说明:

As you noticed, EGit does not appear to be based on a particular version of Git. The EGit documentation has the following to say:


EGit与Git的兼容性如何?



Git中有些但不是所有配置选项/功能都可用例如:It / JGit。这是一个总结,尚未完成描述其中的一些,包括显着的差异。

实际上,只要你使用最新版本的Git,你应该可以。这是因为Git本身应该与任何版本的Git并发与您正在使用的EGit的特定版本并发。但我不会推荐其他方式,例如使用最初的EGit插件从多年前使用Git的第一个版本。

Practically speaking, as long as you are using the most recent version of Git, you should be OK. This is because Git itself should be backwards-compatible with whatever version of Git was concurrent with the particular release of EGit which you are using. But I would not recommend the other way around, e.g. using the first release of Git from many years ago with the latest EGit plugin.

这篇关于EGit版本如何映射到Git版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆