简体   繁体   中英

How do I enter the git config command for Git Bash?

I tried to enter git config -- global user name and I keep getting error messages when trying to configure my Git Bash account. I am using windows 7 and I have downloaded Git Version 1.9.5

It seems as if you were trying to globally set your username. This is the correct command:

git config --global user.name "John Doe"

Have a look at Pro Git Book: 1.6 Getting Started - First-Time Git Setup for a nice summary.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM