1. 查看git用户配置

git config user.name

2. 查看git邮箱配置

git config user.email

3. 配置git用户

git config --global user.name "Your name"

4. 配置git邮箱

git config --global user.email "Your eamil"

PS:如果这些东西不配置好的话,你的代码提交,在github上就会显示是别人的提交!!!

 

相关文章:

  • 2021-10-19
  • 2021-11-02
  • 2021-10-19
  • 2022-02-08
  • 2022-12-23
  • 2021-11-25
  • 2022-02-27
猜你喜欢
  • 2021-12-28
  • 2021-10-19
  • 2021-10-19
  • 2022-02-09
  • 2021-08-19
  • 2022-12-23
相关资源
相似解决方案