linux gitlab 免密码push

1、git设置
git config --global credential.helper store
操作完成后,文件保持在 文件位置在:C:\Users\ycg.gitconfig
2、终端 vim ~/.git-credentials
保存以下内容
https://用户名:密码@域名
例如
https://test:test123456@github.com
退出保存即可

posted @ 2020-11-26 14:31  itbread  阅读(450)  评论(0编辑  收藏  举报

如果觉得对你有帮助,不妨微信扫描打赏鼓励下