EGit - Git Integration for Eclipse

Add this URL to your Eclipse Installation to reach this solution's update site.

2023-12 (4.30), 2023-09 (4.29), 2023-06 (4.28), 2023-03 (4.27), 2022-12 (4.26), 2024-03 (4.31)

https://download.eclipse.org/egit/updates

Learn more...
Solution Description

EGit is the Git integration for Eclipse. Git is a distributed versioning system, 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 the JGit Java implementation of Git. To get started, check out our user guide: http://wiki.eclipse.org/EGit/User_Guide If you have any questions, please use our support forum: http://www.eclipse.org/forums/index.php?t=thread&frm_id=48

Tags: egit, jgit, git, dvcs, scm, vcs, github

Additional Details

Eclipse Versions: 2023-12 (4.30), 2023-09 (4.29), 2023-06 (4.28), 2023-03 (4.27), 2022-12 (4.26), 2024-03 (4.31)

Platform Support: Windows, Mac, Linux/GTK

Organization Name: Eclipse.org

Development Status: Production/Stable

Date Created: Friday, June 18, 2010 - 16:30

License: EPL

Date Updated: Friday, October 6, 2023 - 10:59

Submitted by: Chris Aniszczyk

Date Ranking Installs Clickthroughs
March 2024 33/651 841 9
February 2024 30/687 1355 10
January 2024 33/691 1449 26
December 2023 31/671 1336 13
November 2023 26/686 1788 27
October 2023 36/673 1426 28
September 2023 35/663 1212 30
August 2023 43/673 1062 33
July 2023 39/668 1087 28
June 2023 45/669 1050 29
May 2023 42/671 1143 14
April 2023 49/667 1039 18
View Data for all Listings

Unsuccessful Installs

Unsuccessful Installs in the last 7 Days: 0

Download last 500 errors (CSV)

Marketplace Drag to Install Button

By adding the following code below to your website you will be able to add an install button for EGit - Git Integration for Eclipse.

HTML Code:

Markdown Syntax:

Output:

Drag to your running Eclipse* workspace. *Requires Eclipse Marketplace Client

Reviews Add new review

I am using below tools and versions and getting below error only while trying to opening the GIT Repositories.

Tools -

Eclipse IDE for Java Developers (includes Incubating components)
Version: 2023-03 (4.27.0)
Build id: 20230309-1520
OS: Windows 10, v.10.0, x86_64 / win32
Java vendor: Eclipse Adoptium
Java runtime version: 17.0.7+7
Java version: 17.0.7

Team Explorer Everywhere -
Downloaded latest version (14.137.0) from above GIT 

Error Screenshot from Eclipse -

Error log from Eclipse -
!ENTRY org.eclipse.core.jobs 4 2 2023-06-06 10:22:49.293
!MESSAGE An internal error occurred during: “Loading section ‘All Repositories’”.
!STACK 0
java.lang.NoSuchMethodError: ‘org.eclipse.egit.core.RepositoryUtil org.eclipse.egit.core.Activator.getRepositoryUtil()’
at com.microsoft.tfs.client.eclipse.ui.egit.teamexplorer.TeamExplorerGitRepositoriesSection.loadRegisteredRepositories(TeamExplorerGitRepositoriesSection.java:215)
at com.microsoft.tfs.client.eclipse.ui.egit.teamexplorer.TeamExplorerGitRepositoriesSection.initialize(TeamExplorerGitRepositoriesSection.java:100)
at com.microsoft.tfs.client.eclipse.ui.egit.teamexplorer.TeamExplorerGitRepositoriesSection.initialize(TeamExplorerGitRepositoriesSection.java:105)
at com.microsoft.tfs.client.common.ui.controls.teamexplorer.TeamExplorerBaseControl$SectionLoadJob.run(TeamExplorerBaseControl.java:481)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)

I am seeing a similar issue
RDi 9.6 is based on Eclipse 4.6.3 which contains org.apached.ant plugin at 1.9.?
But when you request EGit via Eclipse marketplace it claims to give you EGit 5.5.1 but in fact it attempt to install 5.6.1 which requires  org.apache.ant [1.10.5,2.0.0)  and the install fails with the error

Cannot complete the install because one or more required items could not be found.
  Software being installed: Git integration for Eclipse 5.6.1.202002131546-r (org.eclipse.egit.feature.group 5.6.1.202002131546-r)
  Missing requirement: Git integration for Eclipse - UI 5.6.1.202002131546-r (org.eclipse.egit.ui 5.6.1.202002131546-r) requires 'bundle org.apache.ant [1.10.5,2.0.0)' but it could not be found
  Cannot satisfy dependency:
    From: Git integration for Eclipse 5.6.1.202002131546-r (org.eclipse.egit.feature.group 5.6.1.202002131546-r)
    To: org.eclipse.egit.ui [5.6.1.202002131546-r]

It seems that there is a configuration problem that is making impossible for our customers to install EGit via Eclipse Marketpalce even though this is very popular.,

I don't see any git views after the installation.
It seems like something went wrong during the installation but when I try to uninstall EGit it gives errors like: ""Eclipse Git Team Provider" cannot be fully uninstalled because other installed software requires it. The parts that are not required will be uninstalled.
"Java implementation of Git" cannot be fully uninstalled because other installed software requires it. The parts that are not required will be uninstalled."

Parallel Tools Platform is not compatible with the new version of Jgit. Now I can't sync my remote projects, nor I can uninstall your plugin after upgrading it. Trying to revert my installation back is just giving me dependency errors. Eclipse is 1,000 programmers coding in their own world with no incentive to actually cooperate. You people have screwed me over for the last time. I will now be using PHPStorm. Thanks for wasting my time.

In reply to by Spencer Williams

Let me first say that my previous comment, strangely, was the very first of mine that marketplace.eclipse.org accepted, to my knowledge. I have not yet tried PHPStorm. Clearly, I was too harsh in my reply, as I had come to rely heavily on both Git for Eclipse and the Parallel Tools Plugin and I was displeased to discover that PTP did not support some newer data format that JGit was using. Sadly, I can't find the site that talked more about the error, nor can I recall the particular error I saw. I might fault PTP more for not supporting what it was that the error said that either Egit or Jgit did support.

When I use the latest Egit with any other setup on Eclipse Luna, I do not run into problems. I have not yet tried the most recent PTP with Egit to see if things have changed, but I may look into it.

Lost 4 hours of works: Reason? Revert button in configure push is just right to Dry-Run button.
No security confirmation (revert is not reversible)... , no warning, same button as the other action.

Reason? Wanting to set back the password credential, miss click and 'voila' ... 4 hours. men. CLI is better, just because it's slower for that.

Your original request has been modified.
"Eclipse Git Team Provider" is already installed, so an update will be performed instead.
Cannot complete the install because of a conflicting dependency.
Software being installed: Eclipse Git Team Provider 3.0.0.201306101825-r (org.eclipse.egit.feature.group 3.0.0.201306101825-r)
Software currently installed: Eclipse IDE for Java Developers 1.4.2.20120213-0813 (epp.package.java 1.4.2.20120213-0813)
Only one of the following can be installed at once:
Team Support UI 3.7.0.v20130514-1224 (org.eclipse.team.ui 3.7.0.v20130514-1224)
Team Support UI 3.6.101.R37x_v20111109-0800 (org.eclipse.team.ui 3.6.101.R37x_v20111109-0800)
Team Support UI 3.6.100.I20110525-0800 (org.eclipse.team.ui 3.6.100.I20110525-0800)
Cannot satisfy dependency:
From: Eclipse IDE for Java Developers 1.4.2.20120213-0813 (epp.package.java 1.4.2.20120213-0813)
To: org.eclipse.epp.package.java.feature.feature.group [1.4.2.20120213-0813]
Cannot satisfy dependency:
From: Eclipse Git Team Provider 3.0.0.201306101825-r (org.eclipse.egit.feature.group 3.0.0.201306101825-r)
To: org.eclipse.egit.ui [3.0.0.201306101825-r]
Cannot satisfy dependency:
From: Git Team Provider UI 3.0.0.201306101825-r (org.eclipse.egit.ui 3.0.0.201306101825-r)
To: bundle org.eclipse.team.ui [3.6.200,4.0.0)
Cannot satisfy dependency:
From: EPP Java Package 1.4.2.20120213-0813 (org.eclipse.epp.package.java.feature.feature.group 1.4.2.20120213-0813)
To: org.eclipse.platform.feature.group [3.7.2.v20120207-1839-9gF7UHPDFxGjd-PqDr2jX_4yKaumkoHTz04_q-q]
Cannot satisfy dependency:
From: Eclipse Platform 3.7.2.v20120207-1839-9gF7UHPDFxGjd-PqDr2jX_4yKaumkoHTz04_q-q (org.eclipse.platform.feature.group 3.7.2.v20120207-1839-9gF7UHPDFxGjd-PqDr2jX_4yKaumkoHTz04_q-q)
To: org.eclipse.team.ui [3.6.101.R37x_v20111109-0800]

In reply to by jacques Mising name

EGit 3.0.x supports Juno (Eclipse platform 4.2/3.8), Kepler (Eclipse platform 4.3) or Luna (Eclipse platform 4.4 development builds), for more details see [1]. Latest version which can be installed on Indigo (3.7) is EGit 2.3.1.

[1] http://wiki.eclipse.org/EGit/FAQ#What_versions_of_Eclipse_does_EGit_tar…

Your original request has been modified.
"Eclipse Git Team Provider" is already installed, so an update will be performed instead.
"Java implementation of Git" is already installed, so an update will be performed instead.
Cannot complete the install because one or more required items could not be found.
Software being installed: Eclipse Git Team Provider 3.0.1.201307141637-r (org.eclipse.egit.feature.group 3.0.1.201307141637-r)
Missing requirement: Git Team Provider UI 3.0.1.201307141637-r (org.eclipse.egit.ui 3.0.1.201307141637-r) requires 'bundle org.eclipse.team.core [3.6.100,4.0.0)' but it could not be found
Cannot satisfy dependency:
From: Eclipse Git Team Provider 3.0.1.201307141637-r (org.eclipse.egit.feature.group 3.0.1.201307141637-r)
To: org.eclipse.egit.ui [3.0.1.201307141637-r]

I am admittedly a total noob, but I have tried downloading the egit installation packages in any provided links on 2 different computers, and every time I go to the installation download page, it gives me a 404 file missing and/or tells me that it should be in the options in the eclipse installation natively (it's not). Am I really the only one having this problem? I don't know where else to post this.

I am at my wits end trying to get this to work. It has aways thrown a java error but still worked until suddenly today, now it just dies. So, I just went and downloaded the latest eclipse PDT from zend, added the new marketplace to install Egit, select all options and I get an error that there is a missing requirement for mylyn. Not sure why this has to be so difficult to get running on my enviro. It would appear others use and I don't read any issues. Any help will be appreciated. Thanks.

Error:
Cannot complete the install because one or more required items could not be found.
Software being installed: EGit Mylyn 2.1.0.201209190230-r (org.eclipse.egit.mylyn.feature.group 2.1.0.201209190230-r)
Missing requirement: EGit Mylyn 2.1.0.201209190230-r (org.eclipse.egit.mylyn.feature.group 2.1.0.201209190230-r) requires 'org.eclipse.mylyn.team_feature.feature.group 3.5.0' but it could not be found

In reply to by Shane Duvall

When I had a problem using Help -> Check for Updates with such-n-such missing feature group, instead I went to the Marketplace from inside Eclipse: Help -> Eclipse Marketplace. I searched for the missing requirement and hit the UPDATE button next to the product.

Hi,

first: thanks for the great tool! But I want to report a Bug.

I cloned an svn repository to an git repository with git svn clone. In this svn repository I have a lot of symbolic links. These symbolic links are symbolic links on the local filesystem after cloning. These symbolic links are not a problem for the normal git console. If you type:

git status

you will get the message: "nothing to commit (working directory clean)"

But if you go into eclipse and click "commit" you get a list with hundreds of symbolic links. The "status" column tells you for everey symbolic link: "Rem., not staged".

If you commit the selected symbolic links and click commit again, egit wants to add all files of the project again to the repository. It is a very bad idea to do a commit of these unchanged symbolic links.

At the moment I click on "deselect all" and select my changed files but this is very annoying ;).

Best think would be: Ignoring the symlinks. You cannot change the symlinks with eclipse so you do not have to commit them to git. Maybe it could be a checked checkbox in the commit window.

Thanks

While it still has a 0.x version number is ready for use. It provides access to most git functionality in the "Eclipse way", nicely integrated.

There are still some rough edges, but starting with 0.11.x we are using it in our development team for the every day jobs without problems. And it is getting better with every version. Keep up the good work!

I only miss some more integration with Gerrit. Although Gerrit and git are two different things, eGit provides some integration with Gerrit and I would love to see more.