remeber git's account & password

首先,來張圖:

昨天電腦空間不夠,清理緩存的時候不小心把git帳號密碼全刪了。

表現爲:git pull時,要重新輸入帳號密碼。

解決方法:

運行以下代碼:

git config credential.helper store

然後在git pull時輸入帳號密碼,一切都被記住了。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章