Skip to content

修改配置

config 命令:修改配置

设置用户名:

bash
git config --global user.name 'Username'

设置邮箱:

bash
git config --global user.email username@server.com

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

最近更新