Reputation: 26761
I'm trying to use the gitk on mysysgit. I'm not using Cygwin or MinGW to run mysysgit, just a straight up DOS command prompt on Windows.
The gitk file is in the bin/ folder, but it's not an executable, so when I type gitk
I get:
'gitk' is not recognized as an internal or external command, operable program or batch file.
Upvotes: 8
Views: 1004
Reputation: 1129
If you've installed Git for windows
and you're running cmder
on windows and unable to launch gitk
, then:
Edit system environmental variables
there.C:\Program Files (x86)\Git\cmd
(or whatever the right path be) at the end, and terminate the line with a semicolongitk
, write now gitk.cmd
Done.
Note: The above instruction may stand valid for command line tools other than mingw
or cygwin
or bash
like shells
Upvotes: 1