Contents
git 设置用户名和邮箱
全局配置用户名和邮箱
全局配置适用于所有仓库:
git config --global user.name "你的用户名"
git config --global user.email "你的邮箱@example.com"验证配置是否成功:
git config --global user.name
git config --global user.email