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

后端 未结 21 2125
孤街浪徒
孤街浪徒 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 10:07

    you can using this

    sudo chown -R $USER:$USER "$(git rev-parse --show-toplevel)/.git"
    
    0 讨论(0)
  • 2020-11-27 10:07

    OK - turns out it was a permissions problem on GitHub that happened during the fork of emi/bixo to bixo/bixo. Once Tekkub fixed these, it started working again.

    0 讨论(0)
  • 2020-11-27 10:08

    Have you try sudo git push -u origin --all? Sometimes it's the only thing you need to avoid this problem. It asks you for the admin system password - the one you can make login to your machine -, and that's what you need to push - or commit, if it is the case.

    0 讨论(0)
提交回复
热议问题