权限变更,git报错文件权限问题:fatal: detected dubious ownership in repository

解决方法: 执行命令 

git config --global --add safe.directory "*";