在使用小烏龜的過程中,發下每次push或者pull都要重復輸入賬號密碼,非常麻煩。
如果能記住賬號密碼就好了,這樣就省去了時間。
怎么設置記住密碼
在[系統盤]:\Users[你的用戶名]下面,有一個.gitconfig目錄,這個是記錄你的git配置信息的。
在該文件后面加上
[credential]
helper = store
保存后。試一下pull或者push,就會在[系統盤]:\Users[你的用戶名]目錄下面生成
.git-credentials文件,該文件明文記錄了你輸入的賬號密碼
http://username:password@git.llpp.com
轉發請注明出處哦(http://www.cnblogs.com/stonehat/ 科普技術)