How do I push to Git Repo given the following error: An internal Exception occurred during push: ssh://git@github.com/xxx/xxx.git: session is down

后端 未结 7 1568
南方客
南方客 2020-12-29 09:13

I recently set up a github account to store the source code of a project I have been working on.

I am using egit eclipse plugin to push changes to <

7条回答
  •  情深已故
    2020-12-29 09:50

    I had this issue with EGit and solved it at last. Somehow sometimes things get messed up. If you can not solve it through Eclipse just go to your "git" folder with git bash with Windows. With Linux it is even easier: just open the terminal.

    This problem occurs because of username, password, and ssh keys getting messed up. So, use the commands "git remote show origin" and make sure if the origin is username@github.com...... Sometimes Eclipse just puts "git" as a username so make sure you have the correct user name by changing it with the command git remote set-url origin https://usrname@github.com/restofthe url. It should automatically change the configurations in eclipse.

    Best...

提交回复
热议问题