每次在 pythonanywhere 中克隆或拉取存储库时,我都必须登录 GitHub 帐户吗?



我正在使用Pycharm,Github和pythonanywhere。

每次我想使用gitpythonanywhere bash 控制台克隆拉取存储库时,都会出现一个身份验证程序,我必须再次填写它,这会降低我的性能。

有没有办法在 pythonanywhere 中进行自动凭据登录?

你可以

  • 使用git config credential.helper cache --timeout n缓存您的 Git 凭据
  • 使用git config credential.helper store永久存储您的凭据。

若要全局进行这些更改,请使用--global标记调用git config

另请参阅凭据存储手册以供参考。

最新更新