moovweb/gvm

ERROR: Looks like the .git directory is present. Please reinstall GVM.

Sylariam opened this issue · 5 comments

I've been using this for a while. However when I tried this:

$ gvm get help
error: pathspec 'help' did not match any file(s) known to git
ERROR: Failed to checkout help branch
$ gvm listall
ERROR: Looks like the .git directory is present. Please reinstall GVM.
...
After that, no matter what command I typed, returned the same error

I went through the script file. And deleted the .git dir in my $GVM_ROOT. Problem solved.
But I still wonder what cause the original problem? I installed gvm by zsh

I bumped into the same thing, and deleting the .git directory fixed it. Perhaps I used some git command when I was in that directory (which is odd, because I generally don't go there.)

Ah, I did accidentally use gvm get and perhaps that caused the issue.

same here