3

"fatal: detected dubious ownership in repository" - if git finds no conflict, it will always find other ways to cause trouble

Comments
  • 0
    It seems to be a fix for these security issues https://github.blog/2022-04-12-git-...
  • 0
    Fixed that, now trying to sync with the remote origin:

    git checkout origin/main

    M foo/bar

    Note: switching to 'origin/main'.

    You are in 'detached HEAD' state.
  • 0
    I know how to fix git whining, or at least I know after searching google,

    but still I refuse to follow that kind of "logic"
  • 0
    Surely there are many ways to mess up with git when you haven't yet learned the workflow that works seamlessly for you.
Add Comment