git pull 报错 insufficient permission for adding an object to repository database .git/objects

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

sudo chmod 777 -R .git/objects
sudo chown git.git .git/objects

猜你喜欢

转载自blog.csdn.net/changerjjlee/article/details/79361860