之前 git 每次提交会让输入用户名和密码,每次麻烦
使用:git config --global credential.helper store 设置后就好了
但是,在 access token 失效需要新的密码时,一直不弹窗让我输入新的密码,导致每次 pull 或 push 报错提示 you must use a personal access token with 'read_repository' or 'write_repository' scope for Git over HTTP.
最后 git credential-manager uninstall 重置 git ,再提交就让输入用户名密码了。