【发布时间】:2019-02-21 05:40:36
【问题描述】:
当直接从 VSCode(Visual Studio 代码)提交到 Github 时,
我的 github 个人资料用户图标在 Github 的提交历史记录中不可见。
没有为我的用户显示头像,而我在 Github 网站上确实有一组。
【问题讨论】:
标签: git github visual-studio-code vscode-settings avatar
当直接从 VSCode(Visual Studio 代码)提交到 Github 时,
我的 github 个人资料用户图标在 Github 的提交历史记录中不可见。
没有为我的用户显示头像,而我在 Github 网站上确实有一组。
【问题讨论】:
标签: git github visual-studio-code vscode-settings avatar
这是因为您的电子邮件地址未在您计算机的 git 配置中正确注册。
你可以这样设置(全局):
git config --global user.email "email@example.com"
或者在本地每个存储库,在目录中执行:
git config user.email "email@example.com"
然后你的图标会再次出现!
【讨论】: