Error pushing to GitHub - insufficient permission for adding an object to repository database

后端 未结 21 2208
孤街浪徒
孤街浪徒 2020-11-27 09:34

I\'m getting back an unusual error while trying to do a \"git push\" to my GitHub repository:

Counting objects: 8, done.
Delta compression using 2 threads.
Compre         


        
21条回答
  •  无人及你
    2020-11-27 09:54

    In my case there were no unified authentication (e. g. within the domain + AD-like service) between my machine and git virtual server. Therefore git users and group are local for the virtual server. In my case my remote user (which I use to login into remote server) was just not added into remote git group.

    ssh root@
    usermod -G  
    

    After that check the permissions like it's described in the posts above...

提交回复
热议问题