Bravo Kernel
Tags
Home
Tags
Published on
August 5, 2014

How to fix Git commit insufficient permission error

When git commit gives this error:

error: insufficient permission for adding an object to repository database .git/objects

Take back ownership of all Git objects by runnning:

cd <path-to-repo>
cd .git/objects
sudo chown -R <username>:<username> *
Edit this Page on Github
← How to maintain your personal Octostrap3 theme
How to configure Git private email →
githubtwitter
Bravo Kernel
•
© 2023
•
Bravo Kernel
Powered by Pliny!