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,310
  • 3
  • 17
  • 37

2 Answers2

1

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,129,465
  • 480
  • 4,036
  • 4,755
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
  • 110,388
  • 20
  • 126
  • 153