git push/pull時總須要輸入用戶名密碼的解決方案

在提交項目代碼或者拉代碼的時候,git會讓你輸入用戶名密碼,解決方案:(咱們公司用的是gitlab) 執行git config --global credential.helper store命令git

Administrator@JFQPFYAU9HP5 MINGW64 /f/operation (master)
$ git config --global credential.helper store
Administrator@JFQPFYAU9HP5 MINGW64 /f/operation (master)
$ git push origin master
Username for 'http://192.168.1.105': John
Everything up-to-date
相關文章
相關標籤/搜索