David B
David B

Reputation: 3571

Eclipse EGit | Branch Diff

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.

Upvotes: 6

Views: 16342

Answers (1)

Jonah Graham
Jonah Graham

Reputation: 7970

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).

Upvotes: 13

Related Questions