I still faced same issue. But I fixed the error with by right clicking on Android studio icon and than clicked on Run as Administrator. I was facing having this issue in Android studio and visual studio. So, you can suggest this 4th solution to everyone😄
PS C:\Users\User> flutter Error: Unable to find git in your PATH. PS C:\Users\User> git config --global --add safe.directory D:\Flutter SDK\flutter error: wrong number of arguments, should be 2 usage: git config [] Config file location --global use global config file --system use system config file --local use repository config file --worktree use per-worktree config file -f, --file use given config file --blob read config from given blob object Action --get get value: name [value-pattern] --get-all get all values: key [value-pattern] --get-regexp get values for regexp: name-regex [value-pattern] --get-urlmatch get value specific for the URL: section[.var] URL --replace-all replace all matching variables: name value [value-pattern] --add add a new variable: name value --unset remove a variable: name [value-pattern] --unset-all remove all matches: name [value-pattern] --rename-section rename section: old-name new-name --remove-section remove a section: name -l, --list list all --fixed-value use string equality when comparing values to 'value-pattern' -e, --edit open an editor --get-color find the color configured: slot [default] --get-colorbool find the color setting: slot [stdout-is-tty] Type -t, --type value is given this type --bool value is "true" or "false" --int value is decimal number --bool-or-int value is --bool or --int --bool-or-str value is --bool or string --path value is a path (file or directory name) --expiry-date value is an expiry date Other -z, --null terminate values with NUL byte --name-only show variable names only --includes respect include directives on lookup --show-origin show origin of config (file, standard input, blob, command line) --show-scope show scope of config (worktree, local, global, system, command) --default with --get, use default value when missing entry PS C:\Users\User> flutter Error: Unable to find git in your PATH. PS C:\Users\User> flutter doctor Error: Unable to find git in your PATH. PS C:\Users\User> I am encountering this error. I have followed those steps you shared!
I have no problem with flutter doctor command...other than flutter command make the cmd close instantly if it doesn't in admin mode But when I try to create new project that massage show up to me unable to find git in your path.... And solutions???
@@z4ck_z7 I know that.... but that's not a good solution long term I just moved the flutter folder to another partition and updated that in the environment of windows and everything works fine without problem I don't know why but I noticed that sometimes flutters make this specific problem when you put it in the system partition (:c\) (doesn't work except if you run it as administrator) if you move it to another partition everything work fine without the need to administrator
Assalam o alaikum sir. I applied these three tricks to solve the problem. i also checked my android studio whether flutter installed or not but it's already installed. But this issue is not resolved. Can you please give me another solution?
flutter : The term 'flutter' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:1 + flutter doctor
the command is "flutter doctor" it is the problem of git path. the 3 methods i have shown do work. check the final command method shown in the video at the end. that should work. run the following commands SOLVED: ERROR: Unable to find GIT in your PATH git config --global --add safe.directory C:/flutter/ If solutions listed do not work for you, try this one git config --global --add safe.directory '*'
As Salam O Alakum Janab background theme from black to white kareen its not proper vizible for viewer .................Jo andriod use kar ra ha wo bi BLACK JO V.STUDIO use kar raha ha wo bi black...... in both option available to change theme. Rgds
I am shocked. Just copied the lines from the first codelab to Code and it already shows I have 8 errors. And the lecturer doesn't have those errors. Strange
For all no fix, use it, i'm have this problem when i change default path CMD, and now u need revert it save in file.reg Windows Registry Editor Version 5.00 [-HKEY_CURRENT_USER\Software\Microsoft\Command Processor]
omg, speak english or another language - but dont mix them! What is more, if the video is not in english, make sure the title isnt either - this is highly misleading.
thank you !!! Sir , your student from sindh university and fan , starting flutter today , will watch your all videos
Running this command: git config --global --add safe.directory '*' resolved the issue for me
Thank you. It worked 🙏🏼
thanks
Thank you. It worked 🙏🏼
The last part worked for me 5:06
Thankyou Dr.Zeeshan!
worked for me thank you. insted of this "D:\flutter\" i have to use "D:\flutter" just remove end backslash
Thank you so much Dr. Zeeshan! you helped me a lot. Cheers from Brasil.
Most welcome! Glad it was usefull
thankyou so much sir it solved my issue which was iam trying to solve from 2 hours you solved it in mints last command works for me
I still faced same issue. But I fixed the error with by right clicking on Android studio icon and than clicked on Run as Administrator. I was facing having this issue in Android studio and visual studio. So, you can suggest this 4th solution to everyone😄
Thanks! I just needed the final command to fix the problem😍😍😍
Good to hear that final command worked. Glad I could help! keep learning.
bro, you're the BEST. i was trying to fix that fucking bug in the past 8 HOURS, THANK YOU!!!!
Thanks, you're the best!! The problem is fixed now, and you just earned yourself a subscriber.
Excellent. glad to hear that this method solved your problem. keep watching.
impressive way of explaining sir, simple and easy..
Thank you sir :-) the last method worked perfectly.
I'm so glad to hear that the last method worked perfectly for you! Keep up the great work!
Thanks! I just needed the final command to fix the problem :)
Thank you so much you saved me 3 hours in my computer not knowing guatdefoco doing ;-;
PS C:\Users\User> flutter
Error: Unable to find git in your PATH.
PS C:\Users\User> git config --global --add safe.directory D:\Flutter SDK\flutter
error: wrong number of arguments, should be 2
usage: git config []
Config file location
--global use global config file
--system use system config file
--local use repository config file
--worktree use per-worktree config file
-f, --file use given config file
--blob read config from given blob object
Action
--get get value: name [value-pattern]
--get-all get all values: key [value-pattern]
--get-regexp get values for regexp: name-regex [value-pattern]
--get-urlmatch get value specific for the URL: section[.var] URL
--replace-all replace all matching variables: name value [value-pattern]
--add add a new variable: name value
--unset remove a variable: name [value-pattern]
--unset-all remove all matches: name [value-pattern]
--rename-section rename section: old-name new-name
--remove-section remove a section: name
-l, --list list all
--fixed-value use string equality when comparing values to 'value-pattern'
-e, --edit open an editor
--get-color find the color configured: slot [default]
--get-colorbool find the color setting: slot [stdout-is-tty]
Type
-t, --type value is given this type
--bool value is "true" or "false"
--int value is decimal number
--bool-or-int value is --bool or --int
--bool-or-str value is --bool or string
--path value is a path (file or directory name)
--expiry-date value is an expiry date
Other
-z, --null terminate values with NUL byte
--name-only show variable names only
--includes respect include directives on lookup
--show-origin show origin of config (file, standard input, blob, command line)
--show-scope show scope of config (worktree, local, global, system, command)
--default with --get, use default value when missing entry
PS C:\Users\User> flutter
Error: Unable to find git in your PATH.
PS C:\Users\User> flutter doctor
Error: Unable to find git in your PATH.
PS C:\Users\User>
I am encountering this error. I have followed those steps you shared!
thank you so much last step resolved the issue you deserve like and subscribe and i did
Thank you Glad it was usefull
thanks a lot sir , even i don't understand hindi but i solved the problem using the last method
I have no problem with flutter doctor command...other than flutter command make the cmd close instantly if it doesn't in admin mode
But when I try to create new project that massage show up to me unable to find git in your path....
And solutions???
ruclips.net/video/tQLaahQzvvo/видео.htmlsi=ZeMWatynVjoJUZsl i think this fixed it for me.
Did you get a solution? Mine does the same
@@EditsnTrolls did you try the one I sent?
run vscode or android studio as administrator
@@z4ck_z7
I know that.... but that's not a good solution long term
I just moved the flutter folder to another partition and updated that in the environment of windows and everything works fine without problem
I don't know why but I noticed that sometimes flutters make this specific problem when you put it in the system partition (:c\) (doesn't work except if you run it as administrator) if you move it to another partition everything work fine without the need to administrator
it still says Unable to find git in your PATH 😓
same
Have you resolved it@@Cartoonsplay9910
Hey Bro?,
Have You found the solution?
@@maskmusian8596 remove the Last slash in the directory name. It worked for me after i removed it
Obrigado! Muito obrigado mesmo! eu estava quase jogando o meu pc na parede.
Thank you sir, but:
'git' is not recognized as an internal or external command,
My solution- delete repated path or remove unnecessary path from system environment, surely it will work👍
Assalam o alaikum sir.
I applied these three tricks to solve the problem. i also checked my android studio whether flutter installed or not but it's already installed. But this issue is not resolved. Can you please give me another solution?
Same here...Installed git, added environment variables, executed code yet still same issue
Thanks for solving our big problem
excellent of your final command
thankyou . glad to hear that it solved your problem. keep learning
flutter : The term 'flutter' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ flutter doctor
Sir i tried three methods including last one , but getting same error. Unable to find git your path
Ok. These three should have work. Let me check again for different solution
Thank You Sir....Really Appreciate it😘😘😘
It's not still working. When you run cmd "flutter roctor", error still : "Unable to find git in your PATH"
the command is "flutter doctor" it is the problem of git path. the 3 methods i have shown do work. check the final command method shown in the video at the end. that should work. run the following commands
SOLVED: ERROR: Unable to find GIT in your PATH
git config --global --add safe.directory C:/flutter/
If solutions listed do not work for you, try this one
git config --global --add safe.directory '*'
@@ZeeshanAcademy Thanks, the second option worked for me!
@@ZeeshanAcademy thanks you so much
The second option worked. Thanks
@@ZeeshanAcademy worked for me!
As Salam O Alakum
Janab background theme from black to white kareen its not proper vizible for viewer .................Jo andriod use kar ra ha wo bi BLACK JO V.STUDIO use kar raha ha wo bi black......
in both option available to change theme.
Rgds
I am shocked. Just copied the lines from the first codelab to Code and it already shows I have 8 errors. And the lecturer doesn't have those errors. Strange
Thank you, that helped me.
best teaching way
thankyou dear. Keep watching and share with your friends.
Sir still it doesn't resolve the problem i don't know how can I fix that
Thank you
For all no fix, use it, i'm have this problem when i change default path CMD, and now u need revert it
save in file.reg
Windows Registry Editor Version 5.00
[-HKEY_CURRENT_USER\Software\Microsoft\Command Processor]
Thankyou
You’re welcome
thank you so much
any different aproach? sitll can´t find solution for this :(
Thank you !!!!
command prompt crashing after git installation !
UM MONSTRO SAGRADO PQP TU É MUITO FODA VELHO, QUANDO VC VIER PRO BRASIL EU TE LEVO NO BAR DO PERA !!! TMJ
assalam-o-alkim i am run three command but
Error: Unable to find git in your PATH.
was not sloved
same
🥲
Thank you, Brother.
thanks, that command solved the issue
Thanks man
Sir when i write flutter doctor ma terminal is cancel the whole window
Same here. Tried everything but nothing works😥
I deleted flutter SDK, extracted again and it worked
thanks.
you welcome. keep learning
Thanks Alot it worked
thanks bro
You Welcome . glad it was helpful
thanks🥰
Not working plz help
sir its not fixed still
Its not working
3rd option worked for me
Nenhuma das formas funcionou, assim como outros abaixo
你能不能不要吃咖喱了,我电脑都被你熏坏了.
thank you man nta tebghi zawali
Walaikum assalam
Nhi hua 😢
kaam nahi kr raha hai koi bhi method
no problem solve
omg, speak english or another language - but dont mix them! What is more, if the video is not in english, make sure the title isnt either - this is highly misleading.
thank you !
not work
What exactly is the error you getting.¿ these three solved my problem. Let me check for more
@@ZeeshanAcademy fix problem
thank you