Ayusman Ayusman - 1 month ago 20
Git Question

Command-line Git on Windows

I have installed msysGit 1.7.10 on my Windows 7 machine.
What I need to know is if I can still use Git from command line?

When I try the

git
command in the command line right now I see:


'git' is not recognized as an internal or external command, operable program or batch file.


Is there any way I can enable the Git command line?

Answer

As @birryree said, add msysgit's binary to your PATH, or use Git Bash (installed with msysgit as far as I remember) which is better than Windows' console and similar to the Unix one.