基础工具使用GIT 免密码push

1.在你的.git 文件下右键打开git bash 

2.在git bash 里输入touch .git-credentials 回车 在输入 vim .git-credentials 按i(vim 指令 insert 缩写) 输入 https://{username}:{password}@github.com   保存退出

3.再输入git config --global credential.helper store

4.执行一次git push,输入用户名和密码 输一次 之后就不用输了

ok

posted @ 2017-10-16 22:54  了不起的IMP  阅读(107)  评论(0)    收藏  举报