How to make Egit remember password and username?

后端 未结 6 1375
独厮守ぢ
独厮守ぢ 2020-12-08 20:42

I\'m working onn a project in Eclipse hosted on Github. Everytime I want to push, a dialog pops up asking for username and password. Anybody know how to save these so I don\

6条回答
  •  感动是毒
    2020-12-08 21:01

    This can happen if the saved password in secure storage doesn't match with the typed one. Here's how you can fix it:

    1. From Eclipse toolbar navigate to Window > Preferences > Security > Secure Storage > Contents Tab > [Default Secure Storage] > GIT > "whatever github url"

    2. Select the url and delete the current user.

    3. Eclipse will ask for a restart. Do it.

    4. Push new changes and this time egit will prompt to save credentials in secure storage which was removed from the previous step.

提交回复
热议问题