Git Git 常用命令一览 修改配置 修改配置 config 命令:修改配置 设置用户名: git config --global user.name 'Username' 设置邮箱: git config --global user.email username@server.com 注:如果去掉 --global 参数则只对当前仓库有效。 查询信息修改和提交