1. 打开.ssh所在目录
  home,即C:\Users\Administrator
2. 在home中,进入git bash命令终端,创建.git-credentials文件,编辑
  touch .git-credentials
  vim .git-credentials
  https://{username}:{password}@github.com

3. 在终端下执行
  git config --global credential.helper store

4. 可以看到~/.gitconfig文件,会多了一项:
  [credential]
    helper = store

相关文章:

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