Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Anyway to use an external diff editor in Eclipse with EGit?

Is there anyway to configure Eclipse/EGit to use an external diff editor and merge tool when doing differences/merges? I've been looking for a way to use something like BeyondCompare or DiffMerge or Kaleidoscope, but so far haven't found anyway to configure it.

I realize that BC has their own plugin, but it does not work within Egit context (ie: when looking at history and comparing to working tree, etc).

I'm running Eclipse 3.7SR2 (Indigo) and eGit 2.1.0. I've tried putting stuff in my .gitconfig to use external diff tools, but Eclipse still opens the files in its own compare windows.

like image 486
Eric B. Avatar asked Aug 18 '13 00:08

Eric B.


People also ask

How do I open Git staging in eclipse?

Use Ctrl+3 (or Cmd+3) and type Git Repositories in the dialog to open the Git repositories view. This view shows you the Git repositories you can work with in Eclipse and allows you to add existing repositories to Eclipse, create or clone repositories. It also allows you to perform Git operations.

How do I merge codes from one branch to another in eclipse?

Your task is to merge a different branch into that branch. After doing a "fetch" to ensure that your branch metadata is up to date, right-click on the repository and select "Merge...". Select the branch you want to merge into your current branch. After that completes, inspect the "Git Staging" view.

How do I rebase in eclipse?

You can also change the rebase configuration of a branch from within Eclipse: Open the Git Repositories view and navigate to the local branch. Open the context menu and select Configure Branch... In the resulting dialog, select the Rebase checkbox.


1 Answers

This is currently not supported by EGit, see bug 356832 which tracks this enhancement and also includes a workaround.

like image 76
robinst Avatar answered Sep 20 '22 13:09

robinst