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

Submitted by barnettech on Tue, 01/02/2018 - 12:06

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

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