-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Description
Steps to reproduce
Download flutter_windows_3.24.5-stable and extract to C:.
Add user environmental PATH variable:
[C:\flutter\bin
]
Moved it up so its the first one as well like the install states.
Have Git-2.47.0.2-64-bit installed. Can use git in cmd and powershell.
I tried everything to resolve this..
(I tried every git path possible...I tried this one along with:
C:\Program Files\Git\bin
C:\Program Files\Git\cmd
C:\flutter\bin\mingit\cmd
C:\flutter\bin\mingit\mingw64\bin\
I downloaded the most up to date git windows 64 bit version (2.42) and everything seems to be fine.
When running the git rev-parse HEAD:
PS C:\flutter> git rev-parse HEAD
dec2ee5c1f98f8e84a7d5380c05eb8a3d0a81668
Running where flutter:
[C:\flutter\bin\flutter
C:\flutter\bin\flutter.bat]
For my User's windows path environment variable, it includes:
flutter bin, git paths.
Actual results
When opening via command line and running "flutter", "flutter -v", "flutter doctor", "flutter.bat doctor", all results in the same error message:
Error: Unable to find git in your PATH
Logs
Logs
<!-- Paste your logs here -->
Flutter Doctor output
Error: Unable to find git in your PATH