避免每次git pull 都输入密码

2021-09-02 09:07:57 阅读:4 编辑

有的时候,git服务器要求密码验证,为了避免每次git pull 都输入密码

git config --global credential.helper store

先执行这个命令 然后输入一次密码 以后就不用输入了