git 服务器同步代码错误 error: insufficient permission for adding an object to repository database .git/object
Posted 一粒小米
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了git 服务器同步代码错误 error: insufficient permission for adding an object to repository database .git/object相关的知识,希望对你有一定的参考价值。
* branch master -> FETCH_HEAD error: insufficient permission for adding an object to repository database .git/objects fatal: failed to write object fatal: unpack-objects failed
git目录无写权限
我的解决方法,直接在xshell上面cd到自己的项目代码,然后 ll -a 找到 .git 目录,给满权限 chmod -R 777 .git
以上是关于git 服务器同步代码错误 error: insufficient permission for adding an object to repository database .git/object的主要内容,如果未能解决你的问题,请参考以下文章
git pull遇到错误:error: Your local changes to the following files would be overwritten by merge:
git pull遇到错误:error: Your local changes to the following files would be overwritten by merge:
git pull遇到错误:error: Your local changes to the following files would be overwritten by merge:
git 错误error: failed to push some refs to