官网下载(git-scm.com/)
安装完成 检验 git --version
全局设置 用户名 邮箱
git config --global user.name "Your Name"
git config --global user.email "Your Email"
注意git config
命令的--global
参数,用了这个参数,表示你这台机器上所有的Git仓库都会使用这个配置,当然也可以对某个仓库指定不同的用户名和Email地址。
官网下载(git-scm.com/)
安装完成 检验 git --version
全局设置 用户名 邮箱
git config --global user.name "Your Name"
git config --global user.email "Your Email"
注意git config
命令的--global
参数,用了这个参数,表示你这台机器上所有的Git仓库都会使用这个配置,当然也可以对某个仓库指定不同的用户名和Email地址。