I had the same problem, because earlier I installed "GitHub Desktop", then I installed cmdermini
using chocolatey
. The fact is that, the cmder
determines the installed git
because installed "GitHub Desktop", you can check it with where env
command, the output is approximately:
"C:\Users\yourname\AppData\Local\GitHubDesktop\app-1.6.2\resources\app\git\usr\bin\env.exe"
(Possibly you have not installed "GitHub Desktop", but another cut version of git
.)
But in this directory some files are missing, in particular "locale.exe". cmdred
at startup performs the task described in init.bat
, and there is a section for localization where the file locale.exe is use. cmder
does not find file, and rightly informs you about this.
There are different ways to solve this problem.
- As an example, you can install the full
git
on a virtual machine and simply copy the file locale.exe
from
"C:\Program Files\Git\usr\bin"
to your directory
C:\Users\yourname\AppData\Local\GitHubDesktop\app-1.6.2\resources\app\git\usr\bin.
The main thing is that the git
bitness matches (e.g. 64 on your and virtual machine).
Alternatively, you can install another version of git
using e.g. chocolatey
and edit the system variable PATH, so that cmder will use it.
Or edit the start task cmder
, having tried to disable locale.exe search in init.bat
.
Maybe you can install full version cmder
wich include git
inside.