当直接从VSCode(Visual Studio代码)提交到Github时, 我的github配置文件用户图标在Github上的提交历史记录中不可见。
我的用户没有显示头像,而我在Github网站上有一套。
这是因为您的电子邮件地址未在计算机的git配置中正确注册。
您可以这样设置(全局):
git config --global user.email "[email protected]"
或者在每个存储库本地,在目录中执行:
git config user.email "[email protected]"
然后你的图标会再次出现!