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

后端 未结 21 2163
孤街浪徒
孤街浪徒 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:41

    chmod should be chown, so the correct line is:

    sudo chown -R gituser:gituser objects
    

提交回复
热议问题