【问题标题】:Github commit from VSCode has no profile icon来自 VSCode 的 Github 提交没有配置文件图标
【发布时间】:2019-02-21 05:40:36
【问题描述】:

当直接从 VSCode(Visual Studio 代码)提交到 Github 时,
我的 github 个人资料用户图标在 Github 的提交历史记录中不可见

例如。

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

【问题讨论】:

    标签: git github visual-studio-code vscode-settings avatar


    【解决方案1】:

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

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

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

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

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

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

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2023-04-01
      • 2022-09-28
      • 2019-12-14
      • 2018-10-07
      • 1970-01-01
      • 2020-11-03
      • 2016-06-21
      • 1970-01-01
      相关资源
      最近更新 更多