github提交显示全名而不是用户名
问题描述:
我通常在github中使用gitbash提交。github提交显示全名而不是用户名
当我提交它显示我的用户名。
我教授要求我提交我的项目,显示了我的全名在提交细节。
我试着通过在windows中编辑.gitconfig文件来解决一些问题。
我也试着从堆栈溢出一些解决方案,如下列:
git config --global user.name "name"
git config --global user.email "email"
和
git config user.name "name"
git config user.email "email"
但是,这并不为我工作。
的[更改Git的用户名]可能的复制(http://*.com/questions/35063493/changing-the-git-username) – vv01f
我尝试了一些解决方案,没有按因为这个原因,我发布了这个问题 –
如果你把你的全名命名为“name”字段,那么全名将显示在提交细节中。 –