[英]git credential helper not working
我正在嘗試保存我的git密碼,以避免每次輸入。
我在Windows 10上使用git bash。
每次我碰到遙控器時,git都會繼續要求輸入密碼。
(git bash為什么不起作用?)
我努力了:
git config --global credential.helper 'cache --timeout 28800'
和:
git config --global credential.helper store
和:
git config --global credential.helper wincred
我已經在git bash和cmd中都嘗試過,所以我想它不是git bash引起的問題。
首先,對於Windows,要使用的憑據幫助程序是manager
:
git config --global credential.helper manager
其次,這僅適用於HTTPS URL,而不適用於SSH URL( user@server.com
)
對於SSH,它可以是:
~matt/.ssh/authorized_keys
上找到您的~matt/.ssh/authorized_keys
。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.