在使用git add时出现错误
error: insufficient permission for adding an object to repository database .git/objects
解决办法:
切换到root用户,执行chown -R xxx(提交时所用的用户):xxx(提交时所用的用户组) /path/to/xxx(要提交的项目)
在使用git add时出现错误
error: insufficient permission for adding an object to repository database .git/objects
解决办法:
切换到root用户,执行chown -R xxx(提交时所用的用户):xxx(提交时所用的用户组) /path/to/xxx(要提交的项目)