test.txt 611 B

12345678910111213141516171819
  1. 测试改为私仓
  2. 访问下面地址生成自己的token:
  3. https://github.com/settings/tokens
  4. 拉取方式:
  5. git config --global credential.helper store
  6. git pull
  7. 登陆成功后续拉库都不需要再输入账号密码
  8. git clone https://username:personal_access_token@github.com/hjdhnx/hipy-server.git
  9. 如果是已经 clone 的到源码目录执行 git remote set-url origin https://username:personal_access_token@github.com/hjdhnx/hipy-server.git
  10. 文档教程:
  11. https://docs.github.com/zh/enterprise-cloud@latest/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens