linux gitlab 免密碼push

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