設定讓TortoiseGit記住賬號和密碼

王磊的部落格發表於2015-11-16

方法一:在"C:\Documents and Settings\Administrator\.gitconfig" 檔案 或 "專案/.git/config"檔案 裡增加兩行:

[credential]  
    helper = store  

設定好,再次輸入使用者名稱和密碼之後,以後就不需要輸入了。

 

方法二:設定 -> git 編輯本地 .git/config 增加

 

[credential]  
    helper = store  

 

相關文章