解决Git提交更新更改时出错: detected dubious ownership in repository at ...
问题背景
Git提交更新更改时出错:detected dubious ownership in repository at ... but the current user is: ... To add an exception for this directory, call:
解决方案
通常是项目文件夹权限主不同导致的,只需在该文件夹下Git Bash,执行以下命令
gitconfig--global--addsafe.directory"*"