1、执行命令: git config --global credential.helper store git pull 2、输入用户名密码,以后就不会再次要求用户名密码了 转载于:https://www.cnblogs.com/byron0918/p/10563897.html