在你的用户目录下新建一个文本文件.git-credentials

echo 'https://henry:123456@ggithub.com' > /root/.git-credentials
git config --global credential.helper store

之后再提交就不需要用户和密码了

相关文章:

  • 2021-08-23
  • 2021-05-30
  • 2021-10-25
  • 2022-12-23
  • 2021-11-25
  • 2021-10-28
  • 2021-09-01
猜你喜欢
  • 2021-06-21
  • 2022-12-23
  • 2022-12-23
  • 2021-06-27
  • 2021-04-11
  • 2022-12-23
相关资源
相似解决方案