gvfs fails with Error: Could not find git.exe. Ensure that Git is installed.
See original GitHub issueRunning gvfs clone fails with “Could not find git.exe. Ensure that Git is installed”.
Reproduction steps:
- Install git 2.25
- Install gvfs using SetupGVFS.1.0.19224.1.exe
- 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:
- Created 4 years ago
- Reactions:1
- Comments:12 (5 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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.
Solved the problem installing Scalar+Git with InstallScalar.bat, run as administrator