如何避免git每次提交都输入密码vim /home/chinaestone/.git-credentials输入内容https://{username}:{password}@github.com保存退出后执行下面命令git config --global credential.helper store执行完后/home/chinaestone/.gitconfig 会新增一项 helper = store这是再执行git push/pull的时候就不会在要求你输入密码了