修改配置

config 命令:修改配置

设置用户名:

git config --global user.name 'Username'

设置邮箱:

git config --global user.email [email protected]

:如果去掉 --global 参数则只对当前仓库有效。

Previous
Next