问题:
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
来源:oschina
链接:https://my.oschina.net/u/3797416/blog/4281711