在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。