来自VSCode的Github提交没有配置文件图标

问题描述 投票:0回答:1

当直接从VSCode(Visual Studio代码)提交到Github时, 我的github配置文件用户图标在Github上的提交历史记录中不可见。

例如。 enter image description here

我的用户没有显示头像,而我在Github网站上有一套。

git github visual-studio-code vscode-settings avatar
1个回答
0
投票

这是因为您的电子邮件地址未在计算机的git配置中正确注册。

您可以这样设置(全局):

git config --global user.email "[email protected]" 

或者在每个存储库本地,在目录中执行:

git config user.email "[email protected]"

然后你的图标会再次出现!

© www.soinside.com 2019 - 2024. All rights reserved.