Counting objects: 3, done.
Writing objects: 100% (3/3), 203 bytes | 0 bytes/s, done.
Total 3 (delta 0), reused 0 (delta 0)
remote: error: insufficient permission for adding an object to repository database ./objects
remote: fatal: failed to write object
error: unpack failed: unpack-objects abnormal exit
To 121.42.140.121:prs.git
! [remote rejected] master -> master (unpacker error)
error: failed to push some refs to 'git@121.42.140.121:prs.git'

这是因为权限问题,是不是用root账户创建的仓库,然后没有把仓库权限分给git用户

git库权限的问题
$ ls -la,查看git库的所有者


 

相关文章:

  • 2022-01-08
  • 2022-12-23
  • 2022-12-23
  • 2021-11-23
  • 2021-12-25
  • 2021-12-21
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-09-08
  • 2022-02-08
  • 2021-08-02
  • 2021-05-18
  • 2021-07-24
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案