1.  git show  看看是否是自己的githup 账号的邮箱  如果不是进行下列操作

2.  git config user.email "你的邮箱地址",修改邮箱

3   修改完以后输入git config user.email 检查是否修改成了你的邮箱

 

4.  如果你想其他项目提交时,也避免此类情况,把上面的两条命令改成

(1) git config --global user.email "your_email@example.com"

(2)git config --global user.email 就可以了

相关文章:

  • 2022-01-30
  • 2022-12-23
  • 2022-12-23
  • 2021-08-09
  • 2021-08-11
  • 2022-12-23
  • 2022-12-23
  • 2021-10-17
猜你喜欢
  • 2022-12-23
  • 2021-10-14
  • 2021-10-11
  • 2021-05-17
  • 2021-12-22
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案