有的项目git pull时需要输入username和password,但是其他项目不需要输入 那么执行下面命令即可 git config --global credential.helper store (还需要输入一次)