我正在使用Pycharm,Github和pythonanywhere。
每次我想使用git在pythonanywhere bash 控制台中克隆或拉取存储库时,都会出现一个身份验证程序,我必须再次填写它,这会降低我的性能。
有没有办法在 pythonanywhere 中进行自动凭据登录?
你可以
- 使用
git config credential.helper cache --timeout n
缓存您的 Git 凭据 - 使用
git config credential.helper store
永久存储您的凭据。
若要全局进行这些更改,请使用--global
标记调用git config
。
另请参阅凭据存储手册以供参考。