Git can not create new branch - detected dubious ownership in repository at 'C:/wamp64/www/xxx'
Answered
Hi, can somebody tell mi please why Phpstorm deny creating new branch or push to remote host? It open an alert with text
Couldnt create new branch: detected dubious ownership in repository at 'C:/wamp64/www/xxx'
I dont understand it. How can I switch this off?
Please sign in to leave a comment.
I think you'll get the same error if you use git in command line.
https://confluence.atlassian.com/bbkb/git-command-returns-fatal-error-about-the-repository-being-owned-by-someone-else-1167744132.html
Hi, I have the same problem only in WebStorm. Console, VisualStudio and some other version control tools do not show this error. What could be the cause?
Does the fix not work? Have you set a custom git version for current project? (Settings/ Version Control/ Git/ Path to Git executable?)
Sry was my mistake. I had opened an external console as admin and created the exception with that. After I created the exception with the internal console of WebStorm everything works fine.