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? 

0
4 comments

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?

0

Does the fix not work? Have you set a custom git version for current project? (Settings/ Version Control/ Git/ Path to Git executable?)

0

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.

0

Please sign in to leave a comment.