Eclipse:Git报错write to secure store failed no password provided

在eclipse中执行Git上传或拉取代码时,有时会报错:

write to secure store failed no password provided

Eclipse:Git报错write to secure store failed no password provided_第1张图片

解决办法:

1. Preferences -> General -> Security -> Secure Storage -> Contents -> GIT,如果GIT下有正在使用的GIT地址,则将此GIT地址删除。

Eclipse:Git报错write to secure store failed no password provided_第2张图片

2. 若无法进行上述操作,或上述操作无效,则可以Preferences -> General -> Security -> Secure Storage -> Password,点击 Clear Passwords,保存后重新Eclipse。

Eclipse:Git报错write to secure store failed no password provided_第3张图片

此操作要小心,它不但会清除GIT的密码,还会清除SVN等其它工具的密码。

3. 执行Pull或Push操作时,弹框提示输入user和password,输入后选中store in Secure Store。

Eclipse:Git报错write to secure store failed no password provided_第4张图片

 

你可能感兴趣的:(Eclipse,Git)