修改git提交用户名

在项目目录命令行查看当前用户名

git config user.name

修改用户名为新的用户名

git config user.name "新的用户名"

修改全局用户名

git config --global user.name "新的用户名"

发表评论

邮箱地址不会被公开。 必填项已用*标注