在eclipse中执行Git上传或拉取代码时,有时会报错:
write to secure store failed no password provided
解决办法:
1. Preferences -> General -> Security -> Secure Storage -> Contents -> GIT,如果GIT下有正在使用的GIT地址,则将此GIT地址删除。
2. 若无法进行上述操作,或上述操作无效,则可以Preferences -> General -> Security -> Secure Storage -> Password,点击 Clear Passwords,保存后重新Eclipse。
此操作要小心,它不但会清除GIT的密码,还会清除SVN等其它工具的密码。
3. 执行Pull或Push操作时,弹框提示输入user和password,输入后选中store in Secure Store。