方法一:使用Bash命令

1.设置name和email
git config --global user.name "yilei"
git config --global user.email 87119538@qq.com
2.保存密码
git config --global credential.helper store

 

方法二:使用 TortoiseGit 工具设置

1.设置name和email

TortoiseGit保存密码

 

2.保存密码

TortoiseGit保存密码

点击编辑全局.git/config 弹出文本编器,在后面加入

[credential]
helper = store

 

相关文章:

  • 2022-01-18
  • 2022-12-23
  • 2021-08-10
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-04-14
  • 2021-10-08
  • 2022-12-23
  • 2021-05-03
  • 2022-12-23
  • 2022-12-23
  • 2021-06-16
相关资源
相似解决方案