Git Push错误:没有足够的权限向存储库数据库添加对象

ⅰ亾dé卋堺 提交于 2020-08-16 01:45:58

问题:

When I try to push to a shared git remote, I get the following error: insufficient permission for adding an object to repository database 当我尝试推送到共享git远程时,出现以下错误: insufficient permission for adding an object to repository database

Then I read about a fix here: Fix This worked for the next push, since all of the files were of the correct group, but the next time someone pushed up a change it made a new item in the objects folder that had their default group as the group. 然后,我在此处了解到一个修复程序: 修复此操作适用于下一次推送,因为所有文件都属于正确的组,但是下次有人推送更改时,它将在具有默认组的对象文件夹中创建一个新项目作为组。 The only thing I can think of is to change all of the developer's default group for items they check in, but that seems like a hack. 我唯一能想到的就是更改开发人员签入的所有项目的默认组,但这似乎是一种hack。 Any ideas? 有任何想法吗? Thanks. 谢谢。


解决方案:

参考一: https://stackoom.com/question/R3Tu/Git-Push错误-没有足够的权限向存储库数据库添加对象
参考二: https://oldbug.net/q/R3Tu/Git-Push-Error-insufficient-permission-for-adding-an-object-to-repository-database
标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!