This error may happened due to the mis-configuration of the git as bare. So, the following command will remove/unset the bare setup
git config --unset core.bare
This error may happened due to the mis-configuration of the git as bare. So, the following command will remove/unset the bare setup
git config --unset core.bare
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (2)
In my case, I was mistakenly to execute git commands in
.gitdir. The solution was pretty embarrassing silly :)) . Justcdout of it and execute the command again :))its not working for window 10 (11.06.2020)