question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

gvfs fails with Error: Could not find git.exe. Ensure that Git is installed.

See original GitHub issue

Running gvfs clone fails with “Could not find git.exe. Ensure that Git is installed”.

Reproduction steps:

  1. Install git 2.25
  2. Install gvfs using SetupGVFS.1.0.19224.1.exe
  3. Open a new Windows Command prompt (to ensure the latest changes to PATH, etc are configured)
C:\Temp> git --version
git version 2.25.0.windows.1

C:\Temp> gvfs clone https://whatever.com/repo_url
Cannot clone @ C:\TEMP\repo_url
Error: Could not find git.exe.  Ensure that Git is installed.

git is installed and in the PATH so gvfs should be able to find it and run without incident.

This is not specific to “clone”, the same error appears for any gvfs command

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:12 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
derrickstoleecommented, Feb 3, 2021

The root cause here is if you install Git for Windows only for one user instead of the entire system.

To fix, uninstall Git then re-install for the whole system.

0reactions
ReCursiacommented, Feb 3, 2021

Solved the problem installing Scalar+Git with InstallScalar.bat, run as administrator

Read more comments on GitHub >

github_iconTop Results From Across the Web

Visual Studio Code cannot detect installed Git
This can happen after upgrading macOS. Try running Git from a terminal and see if the error message begins with: xcrun: error: invalid...
Read more >
SourceTree not able to detect the Git installed
So it seems to be a permission problem but in the logs there is nothing that would shed some light on it. I...
Read more >
No 'git' executable was found. Please install Git on your ...
I get this error when I add git repo to packages. Unity 2019.3.0a11. How can I solve this?
Read more >
Cannot Find Git.exe (Example)
Enter that in Settings->Version Control->Git->Path to Git executable. That is for Windows, not sure where it installs on a Mac. Also make sure...
Read more >
Chocolatey Software | Git (Install) 2.41.0
Chocolatey is software management automation for Windows that wraps installers, executables, zips, and scripts into compiled packages.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found