只需要两个指令 git config user.name 和 git config –global user.name
在控制台中输入git config user.name
获取当前的操作名称
修改名称输入git config --global user.name "名称"
如下图:
git config user.name
获取当前的操作名称git config --global user.name "名称"
如下图: