git修改用户名和邮箱

git修改用户名

1、运行cmd
2、git config user.name查看用户名
3、git config --global user.name “xxx” 修改用户名

git修改邮箱

1、运行cmd
2、git config user.email查看邮箱
3、git config --global user.email “xxx” 修改邮箱

posted @ 2023-01-09 16:28  yunChuans  阅读(49)  评论(0编辑  收藏  举报