首先输入 git config --global credential.helper store 命令, 然后在git pull或者push的时候会要求你输入用户名或者密码,输入一次之后就会保存下来,下次在操作就不会要求输入用户名和密码了