使用 Egit 获取本地和远程存储库之间不同步的文件列表

Get list of files which are not in sync between local and remote repository using Egit

目前我正在使用 EGit(与 eclipse 集成)拉取和推送更改 GitHub。

我想知道有没有办法使用 EGit 获取本地和远程存储库之间不同步的所有文件。

您可以使用 "Comparing with Branches (Synchronize)" feature:

通过选择要比较的项目并单击 Compare With > Branch, Tag or Reference,可以查看(自 EGit 3.1 起)工作树(包括未提交的更改)和分支或标记之间的差异。在开始比较之前会针对您选择的资源过滤结果。

You can also compare with a branch by clicking the dynamic menu Team > Synchronize on a project and selecting the Ref you want to synchronize your working tree against.
If the Git repository contains multiple Eclipse projects it is sufficient to select one project, the Synchronization View will also include all other projects.