Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sourcetree git executable on windows path

I'm using sourcetree on windows as my git client, and did not manually install git. When i open Intellij i get an error saying git client cannot be found and an option to configure the path git executable.

I've tried locating it in sourcetree directory and in user directories but was not able to find it.

Can someone point me to it's path?

like image 484
Aviv Carmi Avatar asked May 15 '17 11:05

Aviv Carmi


People also ask

Where is git EXE located in Windows?

The default path on windows is C:\Program Files (x86)\Git .

How do I find where git is installed?

You can check whether Git is installed and what version you are using by opening up a terminal window in Linux or Mac, or a command prompt window in Windows, and typing the following command: git --version.

How do I find my git path in CMD?

2 Answers. Git executable can be found by using running git --exec-path, which usually lives in the Git execution path. git --exec-path will give you the path.

How do I know if git is installed on Windows?

Open the command prompt "terminal" and type git version to verify Git was installed.


1 Answers

Found it!

%USER_DIR%\AppData\Local\Atlassian\SourceTree\git_local\bin\git.exe

like image 100
Aviv Carmi Avatar answered Sep 28 '22 02:09

Aviv Carmi