Eclipse EGit | Branch Diff

12,574

I think you can compare anything to anything in egit.

e.g.:

  • You can click on any two commits in the History view and, from context menu, choose Compare With Each Other

  • You can select two branches in the Git Repositories view and, from context menu, choose Synchonize with each other

  • You can right click on any branch in the Git Repositories view and choose Synchonize with workspace

And the list goes on ad infinitum (practically).

Share:
12,574
David B
Author by

David B

Updated on June 04, 2022

Comments

  • David B
    David B almost 2 years

    Currently using Eclipse Mars.1 and installed EGit from Eclipse MarketPlace.

    Does Eclipse EGit has a similar feature of SourceTree wherein you could pick N or all commits inside a branch and compare it (git diff) to which branch is was checked-out from?

    I was trying to follow low-level git branching standards relying only on Eclipse EGit tools (without terminal, SourceTree, Pull Request functionality, et.al.). But I'm only limited to seeing commit-diffs and not a branch-commit-diff view.

  • brat
    brat about 4 years
    Problem is. I did this in project explorer. so I was AHA! git repository view. But both lead to the synchronize nonsens, and then Im in a new synchronization "view" or whatever... and then what? -_-. Jeezus christ eclipse makes everything overcomplicated.
  • SantiBailors
    SantiBailors over 3 years
    Thanks for clarifying that in the Eclipse world "Synchronize" means "Compare". To me "Synchronize" implies that two things will become aligned, or anyway something will get changed, and that's why I never used it before to compare two branches.