在gitlab中添加了開發者的sshkey后 開發者pull/push代碼還是需要輸入用戶名密碼解決辦法
輸入git config --global credential.helper store
命令
然后操作pull/push 會讓輸入用戶名密碼,第一次輸入進去。下次再操作pull/push時就不需要輸入用戶名密碼了。
在gitlab中添加了開發者的sshkey后 開發者pull/push代碼還是需要輸入用戶名密碼解決辦法
輸入git config --global credential.helper store
命令
然后操作pull/push 會讓輸入用戶名密碼,第一次輸入進去。下次再操作pull/push時就不需要輸入用戶名密碼了。