Eclipse Egit Not Detecting Changed Files

  • which version of EGit are you using
  • do you get the egit team menu if you right-click any resource in your git tracked project ?
  • if not then you need to do "Team > Share > Git", then check "Use or create repository in parent folder of project". If you are using a very recent nightly build version this will be checked automatically.
  • when you modify a file tracked by (e)git a text decorator ">" should appear in front of the modified file
  • as soon as you stage the modified file (Team > Add) the decorator should show the star
  • also the staging view should always show the git status for all modified files

You need to "Add to index" all files again probably

Track Changes
Click Team > Add on the project node. (This menu item may read Add to Index on recent versions of Egit)

(From the EGit docs:)


What I've found is that you need to make sure that your git repositories are showing up in the Eclipse Git Repositories view.

  1. In the repositories view, you click on the [very] little Git icon with a green + (plus) sign to Add and Existing Local Git Repository.
  2. Browse to the directory that already has a .git subdir and click Finish. You should then see you local repo show up in that list.
  3. Then you can right click on the repo while still in the repositories view and add pull down to Import Projects.
  4. "Import existing projects" is selected. Click Next.
  5. Your project should be checked off. Add it to a working set if necessary. Click Next (maybe Finish).

Tags:

Eclipse

Egit