git保存账号密码

277 阅读1分钟

如果在使用git的时候每次pull、push都需要重复输入账号密码,这时候只需要

git config --global credential.helper store

然后下次再输入账号密码之后会被永久保存