~/Documents/Lea/blog(master*) » git add .
error: insufficient permission for adding an object to repository database .git/objects
error: source/_posts/React梳理.md: failed to insert into database
error: unable to index file source/_posts/React梳理.md
fatal: updating files failed
解决方案:
sudo chown -R 用户名 仓库路径
# sudo chown -R zzy /Users/zzy/Documents/Lea/blog