Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/github/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
来自VSCode的Github提交没有配置文件图标_Git_Github_Visual Studio Code_Vscode Settings_Avatar - Fatal编程技术网

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

来自VSCode的Github提交没有配置文件图标,git,github,visual-studio-code,vscode-settings,avatar,Git,Github,Visual Studio Code,Vscode Settings,Avatar,直接从VSCode(Visual Studio代码)提交到Github时, 我的github配置文件用户图标在github的提交历史记录中不可见 例如。 没有为我的用户显示头像,而我在Github网站上有一个头像集。这是因为您的电子邮件地址没有正确注册到计算机的git配置中 您可以这样设置(全局): 或者在每个存储库的本地,在目录中执行以下操作: git config user.email "email@example.com" 然后你的图标会再次出现 git config user.ema

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

例如。


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

这是因为您的电子邮件地址没有正确注册到计算机的git配置中

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

或者在每个存储库的本地,在目录中执行以下操作:

git config user.email "email@example.com"
然后你的图标会再次出现

git config user.email "email@example.com"