引用文字
微软电脑安装:html
安装注意:node
Use Git from the Windows Command Prompt
Check out Windows-style,commit Unix-style line endings
苹果本的安装:git
homebrew mac的包管理器github
注意:mongodb
优势:windows
注意:xcode
git --version
② 配置用户名和密码(告诉git是谁提交的代码),不配置不能提交代码工具
git config --global user.name "你的github用户名" git config --global user.email "你的github邮箱" git config --list 查看配置状况清单
git config --global --add configName configValue
git config --global --unset configName (只针对存在惟一值的状况)
git config --global configName configValue (只针对惟一量)
git config configName (查询实际生效的配置值) git config --global configName (查询指定级别下,实际生效的配置值) git config --get configName (查询实际生效的配置值) //以上三种不能保证查询到全部的值,可能有未生效的 git config --list --global (查询指定级别下,全部的配置(包括不生效))