The solution to this error message is to add the path to the Git executable to the system's PATH environment variable. To do this, follow these steps:
echo %PATH%
C:\Program Files\Git\bin
.C:\Program Files\Git\bin
).After following these steps, running the flutter command should no longer result in the "Unable to find git in your PATH" error message.
Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss
Asked: 2022-03-18 11:00:00 +0000
Seen: 10 times
Last updated: May 17 '22
What is the method of focusing on a specific ESLint error message in the scripts of my package.json?
What does the error message "Import 'pandas' could not be resolved from source Pylance" mean?
What does the "Npm ERR! Invalid version on npm install" error message mean?
What does the error message "Unrecognized action 'sudo'" mean in MacPorts/Terminal?
What does the error message "Cannot find module 'node:fs'" mean?