1

I want to change default Eclipse Git executable location with SourceTree installed embedded Git executable.

But in eclipse where is the configuration to change git path ?

Reason I am doing this is ,Source Tree has latest Git but separate installed version is not latest (As I don't have installation right and Through Source Tree I can update Embedded version easily).

Viraj
  • 1,360
  • 3
  • 18
  • 38

2 Answers2

2

Eclipse uses EGit which relies on JGit (a java implementation of Git).

That is why you don't see a git.exe path to set. (As opposed to SourceTree, which can use an embedded or a "system" Git)
You can only specify a Git path in order for EGit to respect your Git system config.

Community
  • 1
  • 1
VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
1

Eclipse has its own GIT. It relay on the EGIT project .

Source tree other other hand can use internal git or System git.
You can take the git version installed by git and try to replace it (replace the EGIT git.exe)

I recommend reading this answer by @VonC as well Using native git not jgit in Eclipse git?

Community
  • 1
  • 1
CodeWizard
  • 128,036
  • 21
  • 144
  • 167