|Mailing List • Forums • IRC • mattermost|
|Open • Help Wanted • Bug Day|
|Browse Source • Project Set File|
- 1 What is Git?
- 2 What is JGit?
- 3 What is EGit?
- 4 What is New and Noteworthy?
- 5 Where can I find older releases of EGit?
- 6 What versions of Eclipse does EGit target?
- 7 What are the main differences between original Git and JGit(EGit)?
- 8 What is the mapping Git commands to EGit operations?
- 9 How compatible is EGit with Git?
What is Git?
Git is a distributed SCM/VCS, which means every developer has a full copy of all history of every revision of the code, making queries against the history very fast and versatile. The EGit project is implementing Eclipse tooling on top of a Java implementation of Git.
What is JGit?
What is EGit?
What is New and Noteworthy?
You can find the latest changes for EGit and JGit below:
Where can I find older releases of EGit?
It's recommended to use the latest released version of EGit, which is always available in this p2 repository (update site): http://download.eclipse.org/egit/updates In case you need an older version, try an older repository, the following table lists the stable URL of all released EGit p2 repositories.
Note: open the p2 repository URL from the Eclipse installation wizard (Help > Install New Software) and add it as a new "Software Site". You may use the p2 browser to inspect the content of a p2 repository.
http://download.eclipse.org/egit/updates always contains the latest release (marked with green background)
The project follows a pattern of http://download.eclipse.org/egit/updates-<version> for its sites.
Since 3.0 P2 repositories are also deployed to repo.eclipse.org:
- zipped p2 repositories are located under https://repo.eclipse.org/content/groups/releases/org/eclipse/egit/org.eclipse.egit.repository/
- unzipped p2 repositories which can be directly installed or referenced from a target platform are located under https://repo.eclipse.org/content/unzip/releases.unzip/org/eclipse/egit/org.eclipse.egit.repository/
All release p2 repositories will be kept forever.
Latest builds of EGit
|Version||target simultaneous release version||p2 repository URL||browse p2 repository|
|master branch - 4.9.0-SNAPSHOT||4.7.1||http://download.eclipse.org/egit/updates-nightly||updates-nightly|
|stable-4.8 branch - 4.8.0-SNAPSHOT||http://download.eclipse.org/egit/updates-stable-nightly||updates-stable-nightly|
What versions of Eclipse does EGit target?
In general EGit promises to support at least the latest two Eclipse releases.
If possible we will not prevent usage in older releases but if we want to take advantage of new functionality only available in one of the latest two Eclipse releases but not in older releases we will update dependencies which will in fact discontinue support for older releases.
|EGit||Contained in release train||Supported Version of Eclipse|
|5.4.0 (planned)||Eclipse 4.12 (2019-06)||Eclipse 4.6 + (Neon)|
|5.3.0||Eclipse 4.11 (2019-03)||Eclipse 4.6 + (Neon)|
|22.214.171.124812061821-r||Eclipse 4.10 (2018-12)||Eclipse 4.5 + (Mars)|
|126.96.36.199809181055-r||Eclipse 4.5 + (Mars)|
|188.8.131.52809111528-r||Eclipse 4.9 (2018-09)||Eclipse 4.5 + (Mars)|
|184.108.40.206809091024-r||Eclipse 4.4 + (Luna)|
|220.127.116.11807311906-r||Eclipse 4.4 + (Luna)|
|18.104.22.168806211838-r||Eclipse 4.4 + (Luna)|
|22.214.171.124806131550-r||Eclipse 4.8 (Photon)||Eclipse 4.4 + (Luna)|
|126.96.36.199803080745-r||Eclipse 4.8 M6 (Photon M6)||Eclipse 4.4 + (Luna)|
|188.8.131.52712302008-r||Eclipse 4.8 M5 (Photon M5)||Eclipse 4.4 + (Luna)|
|184.108.40.206712030800-r||Eclipse 4.7.2 (Oxygen.2) and Eclipse 4.8 M4 (Photon M4)||Eclipse 4.4 + (Luna)|
|220.127.116.11710071750-r||Eclipse 4.4 + (Luna)|
|18.104.22.168706111038-r||Eclipse 4.7 (Oxygen)||Eclipse 4.4 + (Luna)|
|22.214.171.124706071930-r||Eclipse 4.4 + (Luna)|
|126.96.36.199704051617-r||Eclipse 4.4 + (Luna)|
|188.8.131.52703071140-r||Eclipse 4.6.3 (Neon.3), Eclipse 4.7 (Oxygen M6)||Eclipse 4.4 + (Luna)|
|184.108.40.206612231935-r||Eclipse 4.7 (Oxygen M5)||Eclipse 4.4 + (Luna)|
|220.127.116.11609210915-r||Eclipse 3.8.2/4.2.2 + (Juno)|
|18.104.22.168607150455-r||Eclipse 4.6.1, 4.6.2 (Neon.1, Neon.2)||Eclipse 3.8.2/4.2.2 + (Juno)|
|22.214.171.124606070830-r||Eclipse 4.6 (Neon.0)||Eclipse 3.8.2/4.2.2 + (Juno)|
|126.96.36.199604071810-r||Eclipse 3.8.2/4.2.2 + (Juno)|
|188.8.131.52601211800-r||Eclipse 4.6 M5 (Neon M5)||Eclipse 3.8.2/4.2.2 + (Juno)|
|184.108.40.206511131810-r||Eclipse 4.5.2 (Mars.2)||Eclipse 3.8.2/4.2.2 + (Juno)|
|220.127.116.11509280440-r||Eclipse 4.6 M2 (Neon M2)||Eclipse 3.8.2/4.2.2 + (Juno)|
|18.104.22.168509231615-r||Eclipse 4.5.1 (Mars.1)||Eclipse 3.8.2/4.2.2 + (Juno)|
|22.214.171.124509141540-r||Eclipse 3.8.2/4.2.2 + (Juno)|
|126.96.36.199506240215-r||Eclipse 3.8.2/4.2.2 + (Juno)|
|188.8.131.52506090130-r||Eclipse 4.5.0 (Mars)||Eclipse 3.8.2/4.2.2 + (Juno)|
|184.108.40.206504261725-r||Eclipse 3.8.2/4.2.2 + (Juno)|
|220.127.116.11502260915-r||Eclipse 3.8.2/4.2.2 + (Juno)|
|18.104.22.168501210735-r||Eclipse 3.8.2/4.2.2 + (Juno)|
|22.214.171.124501031845-r||Eclipse 3.8.2/4.2.2 + (Juno)|
|126.96.36.199412230720-r||Eclipse 3.8.2/4.2.2 + (Juno)|
|188.8.131.52412180710-r||Eclipse 3.8.2/4.2.2 + (Juno)|
|184.108.40.206411120430-r||Eclipse 3.8.2/4.2.2 + (Juno)|
|220.127.116.11410131835-r||Eclipse 3.8.2/4.2.2 + (Juno)|
|18.104.22.168409260305-r||Eclipse 3.8.2/4.2.2 + (Juno), support for 3.8.2 was fixed see bug 438601|
|22.214.171.124412180340-r||Eclipse 4.4.2 (Luna SR2)||Eclipse 4.2.2 + (Juno)|
|126.96.36.199406201815-r||Eclipse 4.4.1 (Luna SR1)||Eclipse 4.2.2 + (Juno)|
|188.8.131.52406110918-r||Eclipse 4.4 (Luna)||Eclipse 4.2.2 + (Juno)|
|184.108.40.206403241930-r||Eclipse 3.8.2/4.2.2 + (Juno)|
|220.127.116.11403021825-r||Eclipse 3.8.2/4.2.2 + (Juno)|
|18.104.22.168312181205-r||4.3.2 (Kepler SR2)||Eclipse 3.8.2/4.2.2 + (Juno)|
|22.214.171.124310021548-r||Eclipse 3.8.2/4.2.2 + (Juno)|
|126.96.36.199309161630-r||4.3.1 (Kepler SR1)||Eclipse 3.8.2/4.2.2 + (Juno)|
|188.8.131.52307141637-r||4.3.0 (Kepler)||Eclipse 3.8.2/4.2.2 + (Juno)|
|184.108.40.206302201838-r||3.8.2/4.2.2 (Juno SR2)||Eclipse 3.7.2+ (Indigo) (except EGit Import Support feature, which is optional)|
|220.127.116.11212191850-r||3.8.1/4.2.1 (Juno SR1)||Eclipse 3.7.2+ (Indigo) (except EGit Import Support feature, which is optional)|
|18.104.22.168209190230-r||3.8.1/4.2.1 (Juno SR1)||Eclipse 3.5.2+ (Galileo) (except EGit Import Support feature, which is optional)|
|22.214.171.124206130900-r||3.8/4.2 (Juno)||Eclipse 3.5.2+ (Galileo) (except EGit Import Support feature, which is optional)|
|126.96.36.199202151440-r||3.7.2 (Indigo SR2)||Eclipse 3.5.2+ (Galileo)|
|188.8.131.52112221803-r||3.7.2 (Indigo SR2)||Eclipse 3.5.2+ (Galileo)|
|184.108.40.206109151100-r||3.7.1 (Indigo SR1)||Eclipse 3.5.2+ (Galileo)|
|220.127.116.11106090707-r||3.7.0 (Indigo)||Eclipse 3.5.2+ (Galileo)|
Required Java Version (BREE):
- Up to EGit 3.7 the minimum supported BREE is Java 5 though Java 6 or higher is recommended due to limitations in older Java versions.
- Starting from EGit 4.0 the minimum supported BREE is Java 7
- Starting from EGit 4.6 the minimum supported BREE is Java 8 and Eclipse 3.x support discontinues.
Compatible version of Git:
Compatibility is on a feature by feature basis. Currently the major version related difference is in how Git handles file names with non-ASCII file names. Git for Windows 1.7.10 and later encodes filenames in UTF-8 which is compatible with JGit. Git on Mac, v1.7.12 can encode filenames in a way that is compatible with EGit and Git for Windows if core.precomposeunicode is set to true. However EGit on OS X does not handle Unicode well.
What are the main differences between original Git and JGit(EGit)?
See this page Differences to Git
What is the mapping Git commands to EGit operations?
See this page Mapping Git Commands
How compatible is EGit with Git?
Some, but not all configuration options/features in Git are available in EGit/JGit. Here is a summary, not yet complete describing some of these, including notable differences. Note that the set of EGit/JGit is not based off a particular Git version.
|core.autocrlf||Since 2.0 supports true,false and input. See the tutorial for notes about making sure EGit picks up the configuration.|
|core.compression||zlib compression level|
|core.excludesfile||Contains ignore rules, in addition to .gitignore|
|core.packindexversion||version 1 and 2 supported|
|core.precomposeunicode||Ignore. See Bug 413390|
|core.repositoryformatversion||recognized, only "0" supported|
|core.worktree||supported in JGit, not EGit|
|diff.algorithm||myers, histogram (default: histogram)|
|pack.indexVersion||Default 2,-1 for older format|
Supported in JGit, but no EGit usually amounts to having no or strange behavior would one attempt to use it in the Eclipse IDE.
Notes: For those that can read the source, look at ConfigConstants.java for a hint on what options JGit recognizes. If it appears there, an option may be supported, but it may also mean for a few cases that JGit just looks for it and then explicitly tells the user the option is not supported. If it does not appear, it's most certainly up for grabs as a contribution. The file contains lots of config options that only applies to JGit (DFS, gerrit).
The following attributes are used by JGit/EGit. They can be used either inside a checked-in .gitattributes file, the file $GIT_DIR/info/attributes or in the file defined by the config constant core.attributesFile
Bug 342372 is meant to discuss problems regarding attributes.
JGit supports some environment variables. Do not set those for the Eclipse IDE. We'll list a few ones that may be used, but most apply only to using JGit from the command line.
|GIT_CEILING_DIRECTORIES||supported. Also EGit may be benefited when used with automounted file systems|
TBD: JGit does its own parsing of the ~/.ssh/config file.
Using PuTTY Agent on Windows for SSH Keys
It is possible to use PuTTY's key management capabilities on Windows for EGit as well. For that you work you must install PuTTY and TortoiseGit. Then set GIT_SSH environment variable to
Store SSH Key Passphrase in Mac Keyring
It is possible to store the SSH Key Passphrase in Mac's Keyring. However. EGit's internal SSH client does not support this. Thus, in order benefit from Keyring EGit must be configured to use the Mac vanilla SSH agent. This is possible by setting the GIT_SSH environment variable to
For OSX Mavericks see this Stackoverflow question for how to set environment variable for applications like Eclipse.
For OSX Yosemite see this Stackoverflow question for how to set environment variable for applications like Eclipse.