An internal Exception occurred during push: cannot store objects

前端 未结 3 791
梦如初夏
梦如初夏 2021-01-16 05:16

Hello I am new to Git and trying to setup server part and client part. On a Server side I have ssh access and Git version 1.5 On a Client side I have eclipse with eGit.

相关标签:
3条回答
  • 2021-01-16 06:02

    The possible issues are: 1. The source code might not be committed in the first place. Please try committing and see. 2. There is some issue with github authentication. Please re authenticate the credentials and try using: Team->Remove->Configure push to upstream->URI, Change->Add authentication

    0 讨论(0)
  • 2021-01-16 06:14

    Ok, I resolved my issue following way:

    1) I changed configuration for remote fetch and pull from sftp to ssh

    2) Once I did step 1. I got different error:

    enter image description here When I tried to push changes from Terminal I got following:

    git push origin
    Password:
    bash: git-receive-pack: command not found
    fatal: The remote end hung up unexpectedly

    3) Found answer to the above error: git-upload-pack: command not found, how to fix this correctly

    4) On my old server path to the git is: "/usr/local/git/bin" So I added it to .bashrc file.

    Once I done that, everything started to work:

    enter image description here

    0 讨论(0)
  • 2021-01-16 06:15

    For me, on Windows eclipse, I had an error like this:

    An internal Exception occurred during push: github.com/***/***/service=git-receive-pack not found
    

    I just reconfigured the eclipse and added my github account information and store it. Then it worked. Team->Remove->Configure push to upstream->URI, Change->Add authentication details

    0 讨论(0)
提交回复
热议问题