git config --global credential.helper store

打开~/.gitconfig文件,会发现多了一项:

[credential]

  helper = store

此时,再次push  输入用户名和密码,以后再次push即可免去输入用户名和密码

相关文章:

  • 2021-11-06
  • 2021-05-22
  • 2022-01-30
  • 2022-12-23
  • 2021-06-05
  • 2021-06-23
  • 2021-11-28
  • 2022-12-23
猜你喜欢
  • 2021-06-21
  • 2022-01-08
  • 2021-06-03
  • 2022-12-23
  • 2021-11-16
  • 2022-01-01
  • 2022-12-23
相关资源
相似解决方案