提示
insufficient permission for adding an object to repository database ./git
执行
chown -R git:git /git
执行的时候确定当前账号是否有分配的权限
感谢博主,喝杯咖啡~