TortoiseGit can't find git.exe

13,822

When using Git for Windows don't enable Cygwin or Msys hacks!

These are only for the git.exe version shipped with the cygwin or msys2 (not Git for Windows!) package.

Share:
13,822
neuronalbit
Author by

neuronalbit

Updated on June 13, 2022

Comments

  • neuronalbit
    neuronalbit almost 2 years

    I've performed a clean install for TortoiseGit and the latest Git for Windows on my Windows 10 OS, but there seems to be a problem with Tortoise claiming that it can't find Git's executable.

    The path to the Git executable set within Tortoise is correct and in addition I've already added the corresponding entry to the PATH environment variable.

    Every time I try to create a repo or if I go under settings, the following message pops up:

    git.exe not correctly set up (/usr/bin/bash: /bin/git.exe: No such file or directory)

    Check TortoiseGit settings and consult help for "Git.exe Path".



    Summary:

    • Windows 10 (x64)
    • TortoiseGit (x64 / v2.1.0.0)
    • Git (x64 / v2.9.0)

    Installation-Paths:

    • Tortoise: "A:\Programs\TortoiseGit"
    • Git: "A:\Programs\Git\bin"

    Added entries for PATH-Variable:

    • "A:\Programs\Git\bin"
    • "A:\Programs\Git\mingw64\bin"