Linux下git push、git pull等指令需要输入账号密码 - 免除设置
打开终端按顺序执行下面的指令:
1.cd ~
2.touch .git-credentials
3.vim .git-credentials 然后在打开的文件里面输入
https://{username}:{password}@github.com
其中{username},{passworld}更换成自己的账号密码,保存并退出。
4.git config --global credential.helper store
5.打开~/.gitconfig文件,会发现多了一项:
[credential]
helper = store
完成设置
| 专业的物联网解决方案提供商,提供基于wifi和蓝牙的从app 到模组芯片的一体化解决方案,长期承接乐鑫,BES,stm32,Telink等芯片的方案设计开发及服务。 商务合作和技术探讨:邮箱:1173496664@qq.com weixin:18019245820 市场技术对接群:347609188 |

浙公网安备 33010602011771号