Eclipse Git Sync Does Not Display Changes

No matter what I do, Eclipse (EGit) does not display changes. I searched a lot for this problem, but I can’t solve it. My girlfriend has the same problem. In the past, everything worked fine, but from one day to another a problem arose.

When I click Team> Synchronize Workspace, only the " Git Sync: No Changes Found. " Dialog appears. When I select Team> Advanced> Synchronize, the same thing happens.

I also installed the new Eclipse (with fresh Windows) and the problem was still there. My Ubuntu laptop is fine.

Does anyone have the same problem? Is there a solution? I also tried installing the plugins mentioned in this answer , but this did not work for me.

The Eclipse update also displays incoming changes (after extraction from the upstream) and modified files (with an arrow), but in synchronization mode, the changes are still not displayed.

Update 2 . I tested the project from Github and everything works there, as shown in the figure. What is the difference between these two projects? I checked the repository options and they are equal. Can authentication cause problems? As I said, the project works fine on my Ubuntu machine.

+9
source share
6 answers

I had the same problem, but upgrading to EGit 2.2 seems to have taken care of this. Now everything is consistent between "git status" on the command line and "Team / Synchronize Workspace" in Eclipse.

You can get EGit from here or you can add the update site http://download.eclipse.org/egit/updates-2.2 to Eclipse.

The latest Egit update site: http://download.eclipse.org/egit/updates

+9
source

I tried the new EGit, re-cloned the project, and nothing worked except for this:

  1. In the Sync view, click the drop-down arrow next to the Sync button, then select Sync ....
  2. In the dialog that appears, select Git, click Next.
  3. Then the important part - select the destination for HEAD for your repository and check "Include local uncommitted changes in the comparison."
  4. Click Finish.
+11
source

Before you can synchronize the workspace, you need to β€œfetch” from the remote repository ( Team -> Fetch from Upstream ) to get all incoming changes to the local repository. After that you can synchronize them.

If you do not want to make two clicks for synchronization, you can enable "Always run sampling before synchronization" in Preferences -> Team -> Git -> Synchronize .

enter image description here

+1
source

Phased changes This worked for me:

Whenever you make any changes. Right-click on your project name, then go to the "Team" section and click "Add to Index." Now again, right-click on your project name, then go to the "Team" section and click "Commit." You will now see that the Git Staging Console has been opened and your changes begin to appear in the Staged Changes field.

+1
source

We struggled with the same problem. It turned out that we needed to remove all the options in the settings of Git β†’ Synchronize.

We use Eclipse Juno and Kepler. Removing options solved the problem for both.

0
source

If this helps anyone, I am facing the same problem.

During synchronization, when selecting a repository, the Include local uncommitted changes in comparison option is not checked and shows that no changes were found in the Synchronize view. Synchronization with this option is marked, changes are shown.

Eclipse Version: Luna Service Release 1 (4.4.1) - MacOS

0
source

All Articles