Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Sylariam opened this issue Mar 27, 2024 · 2 comments
Open

Comments

@Sylariam
Copy link

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

@Sylariam
Copy link
Author

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

@jlearman
Copy link

jlearman commented Jul 3, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants