5

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.

3
  • Can you paste whats in ~/.gitconfig? Commented Apr 26, 2012 at 19:41
  • [core] symlinks = false autocrlf = true [color] diff = auto status = auto branch = auto interactive = true [pack] packSizeLimit = 2g help center format = html [http] sslCAinfo = /bin/curl-ca-bundle.crt [sendemail] smtpserver = /bin/msmtp.exe [diff "astextplain"] textconv = astextplain [rebase] autosquash = true Commented Apr 27, 2012 at 11:30
  • The entries from git config ... go into ~/.gitconfig, since you dont have this, I'm assuming things are not configured properly. Can you download git extensions and that gives you a sort of ui option of configuring things? Commented Apr 30, 2012 at 14:46

1 Answer 1

1

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

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.