当前位置:Gxlcms > 数据库问题 > git 服务器同步代码错误 error: insufficient permission for adding an object to repository database .git/objects

git 服务器同步代码错误 error: insufficient permission for adding an object to repository database .git/objects

时间:2021-07-01 10:21:17 帮助过:21人阅读

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/objects

标签:ror   ast   方法   chmod   服务器   add   解决方法   ase   err   

人气教程排行