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 1566
南方客
南方客 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 10:03

    I faced the same problem and I found out solution which is extremely foolish.
    I took following steps:

    • I logged into git repository of my project from browser and didn't sign out.
    • I copied the http url to push or pull from project repository from github.
    • I pasted the url in my eclipse plugin while pushing code (didn't use the already stored one even though both of them were same)

    I don't know what and why but above steps have worked for me whenever I have faced above problem. I don't know why does eclipse throw such exceptions and why does it gets solved this way.

    You can also try pushing using other ways outside of eclipse. for eg. `TortoiseGit` or `SmartGit` etc.

提交回复
热议问题