Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

git commands not working in git bash (windows 7 x64)

I follow the help on http://help.github.com/win-set-up-git/ for installing git (msysgit) on windows 7 x64.

Everything went good until setting up my account.

But as soon as I tried git config --global user.name ...... the git bash always shows me the usage of git, in short the help. Every command (status, --version, diff, help, status, ...) shows the same message : usage: git [--version] [--exec-path.......] ....

ssh is working well because I could param the ssh key. if I type "sit" with a mistake in git : command not found

thanks for your help. I think that I may have missed an option in the installation.

like image 370
user1358898 Avatar asked Nov 13 '22 06:11

user1358898


1 Answers

I follow the help for installing git (msysgit) on windows 7 x64.

You shouldnt be installing msysgit unless you are developing Git.

You should be installing Git for Windows.

code.google.com/p/msysgit/downloads/list?q=windows+installer

like image 67
Zombo Avatar answered Nov 16 '22 00:11

Zombo