如果执行git clone下载代码的时使用https://而不是git@git (ssh),当我们执行git pull/push命令时,总是需要输入用户名和密码。

解决办法:
  git bash进入项目目录,执行:

git config --global credential.helper store


  然后会在本地生成一个文本,里面记录了用户名和密码。

相关文章:

  • 2021-12-17
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-27
猜你喜欢
  • 2021-06-10
  • 2022-12-23
  • 2021-04-09
  • 2021-07-31
  • 2021-09-02
  • 2022-12-23
  • 2021-05-21
相关资源
相似解决方案