df.tips
How to fix «detected dubious ownership» for Git after reinstalling Windows?
Windows
windows-ownership
,
takeown
,
windows-permissions
,
git
,
windows
,
filesystem
,
bash
,
windows-sid
,
windows-account
,
windows-account-unknown
dmitrii_fediuk
(Dmitrii Fediuk)
May 29, 2023, 8:10pm
1
How did I fix «detected dubious ownership in repository» / «'…' is owned by:'S-1-5-21-…' but the current user is: 'S-1-5-21-…'» on `git status`?
dmitrii_fediuk
(Dmitrii Fediuk)
May 29, 2023, 8:17pm
2
takeown /f "<path>" /r /d y
stackoverflow.com/a/74754781