git pull 报错解决 fatal: detected dubious ownership in repository at ‘D:/xx/xx/xx’ ‘D:/xx/xx/xx’ is owned by: ‘S-1-5-21-1938902806-3970791919-178131098-1000’ but the current user is: ‘S-1-5-21-2978362053-1919317095-4107791047-1002’ 解决如下:输入以下命令 git config --global --add safe.directory D:/xx/xx/xx