SourceTree 1.6.14 cannot find Git 2.4.0 installation on Windows -
after installing git 2.4.0 on windows 7 system, tried change option in sourcetree 1.6.14 "use system git", rather embedded version.
however, upon clicking "use system git", nothing happened , setting remained set "use embedded git".
how can make sourcetree use installed version of git?
this fixed in future patch sourcetree, however, until there workaround follows.
git versions prior 2.0 stored git.exe
in subdirectory called bin
, sourcetree looking for. of git >=2.0, git.exe
moved folder named cmd
.
therefore, easiest way sourcetree recognise git installation, create symbolic link folder using mklink
follows:
c:\program files (x86)\git\>mklink /d bin cmd
edit: whilst above fixes git normal gui operations (commit/push etc.) not fix "terminal" button, command tries execute sh.exe
via following command , fails sh.exe
has been moved in git 2.4.
"c:\windows\system32\cmd.exe" /c "c:\program files (x86)\git\bin\sh.exe" --login -i
edit 2: further reading - raised issue git windows maintainers here.
Comments
Post a Comment