linux gitlab 免密码push

1、git设置
git config --global credential.helper store
操作完成后,文件保持在 文件位置在:C:\Users\ycg.gitconfig
2、终端 vim ~/.git-credentials
保存以下内容
https://用户名:密码@域名
例如
https://test:[email protected]
退出保存即可
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章