An internal Exception occurred during push: cannot store objects

前端 未结 3 821
梦如初夏
梦如初夏 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: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

提交回复
热议问题