detected dubious ownership
fatal: detected dubious ownership in repository at

設定
git config --global safe.directory *
備註
如果失敗可能要到全域設定檔中清除 [safe] 部分,再重新下一次命令
參照
12 February 2026
fatal: detected dubious ownership in repository at

如果失敗可能要到全域設定檔中清除 [safe] 部分,再重新下一次命令