vim /home/chinaestone/.git-credentials 输入内容 https://{username}:{password}@github.com 保存退出后执行下面命令 git config --global credential.helper store 执行完后 /home/chinaestone/.gitconfig 会新增一项 helper = store 这是再执行git push/pull的时候就不会在要求你输入密码了。别问我 为什么不用ssh?没有为什么,就是不用。
如何避免git每次提交都输入密码
猜你喜欢
转载自chinaestone.iteye.com/blog/2101298
今日推荐
周排行