Git subtree installation broken on a Windows 2010 Pro install
It appears to be a bug in [email protected] for Windows. You can check the issue here
It looks like either your git installation or your git-subtree installation is broken.
Tips:
- If
git --exec-path
does not print the correct path to your git install directory, then set the GIT_EXEC_PATH environment variable to the correct directory.- Make sure that your
git-core\git-subtree
file is either in your PATH or in your git exec path (C:/Program Files/Git/mingw64/libexec/git-core
).- You should run git-subtree as
git core\git-subtree
, not asgit-core\git-subtree
.
For now, you can downgrade to @2.31, e.g.: https://github.com/git-for-windows/git/releases/download/v2.31.0.windows.1/Git-2.31.0-64-bit.exe
This bug was fixed in the newer version v2.32.0.windows.2.
I had the same issue and a simple reinstall of the latest Git for Windows fixed it.