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
Suppress message "GitLens was unable to find Git" #1368
Comments
GitLens can't work without Git installed. So for your scenario, I would recommend disabling GitLens locally, an only leave it on in the remote. |
Afaik that is not possible. I just tested it . Note that I open VS Code in Windows (without being connected to a remote). The only option I then have is to disable globally. This is then synced to all my machines, meaning Gitlens is even disabled locally/remotely for all my machines. |
@sandy081 is that expected? I wouldn't have expected the local enabled state to be synchronized to a remote. |
By the way, I have a about 20 extensions and many of them require something else to be installed to function. E.g. the docker extension requires docker, but it still does not give me an error when I launch VS Code. Every other extension handles this gracefully only giving me warning/errors/notifications or uses GUI in ways to inform me that it does not work, when actually invoking it. |
Can you please verify this fix in tomorrow's insiders edition? You can install the insiders edition from here. Be sure to disable/uninstall the stable version of GitLens first. |
We do not sync local to remote.
I think user is mentioning about other machines when said remote |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
I run VS Code in Windows but develop exclusively with the remote extensions (WSL, ssh, containers). This means I never install git in Windows. Yet, I always get this error when launching VS Code
It would be nice if this could be added as a config:
That way I can suppress that message from showing up at every start.
The text was updated successfully, but these errors were encountered: