git: can't push (unpacker error) related to permission issues

前端 未结 13 910
小蘑菇
小蘑菇 2020-12-07 20:06

I have this problem when i try to push in git:

error: insufficient permission for adding an object to repository database ./objects

fatal: failed to write o         


        
13条回答
  •  一生所求
    2020-12-07 20:37

    In case anyone else is stuck with this: it just means the write permissions are wrong in the repo that you’re pushing to. Go and chmod -R it so that the user you’re accessing the git server with has write access.

    http://blog.shamess.info/2011/05/06/remote-rejected-na-unpacker-error/

    It just works.

提交回复
热议问题