egit - not authorized

后端 未结 4 968
醉梦人生
醉梦人生 2020-12-04 11:31

I just connected to GIT from Eclipse Juno using EGit, and successfully cloned a certain remote repository. During the clone I entered my Github username and password, but ch

4条回答
  •  南方客
    南方客 (楼主)
    2020-12-04 11:55

    I had a similar problem when I changed my password on the remote repository.

    Here is how I fixed it on Eclipse on Mac:

    Important Note: These instructions have the side effect of clearing all passwords and other secure information. I was fine with that, but you will want to consider that before you follow these instructions.

    1. Click Eclipse -> Preferences on menu.
    2. Expect a popup window called Preferences.
    3. Expand the "General" tree item.
    4. Double click the "Security" tree item.
    5. Expect the main pane of the popup to change to "See 'Secure Storage' for..."
    6. Click 'Secure Storage'.
    7. Expect the main pane to change to tabbed window.
    8. Click the "Contents" tab.
    9. Click "Delete".
    10. Accept a warning that all your secure information is deleted.
    11. Click "Cancel" or "Apply" to exit the popup window.
    12. Click the 'Git Pull' icon and expect to be prompted for username and password.

提交回复
热议问题