Error while pull from git - insufficient permission for adding an object to repository database .git/objects

前端 未结 5 674
臣服心动
臣服心动 2021-01-29 21:12

I have git error: \"insufficient permission for adding an object to repository database .git/objects\" every time I make \"git pull origin develop\".

    remote:         


        
5条回答
  •  时光说笑
    2021-01-29 22:07

    Go to project's root directory and run below commands to fix this issue,

    cd .git/objects
    sudo chown -R yourname:yourgroup *
    

提交回复
热议问题