SOLVED! Flutter Error: Unable to find git in your PATH | flutter git path error 100% fix

preview_player
Показать описание
HI! I am Dr. Zeeshan Bhatti and in this video I am going to show your how to solve "Error: Unable to find git in your PATH" flutter git path error. this is common Git Path error that can occur any time.

3 ways to Solve the Error: Unable to find Git in your PATH
2. Add GIT to your System Variables Path
3. Run the command in terminal to solve it

❤️Please Like Share and Subscribe ❤️ZEESHAN ACADEMY❤️ for More Videos Tutorials.❤️


....:::::: Watch More of MY Interesting Tutorials ::::::…..

Follow Me on Social Media :


Рекомендации по теме
Комментарии
Автор

Running this command: git config --global --add safe.directory '*' resolved the issue for me

rajivi
Автор

Thank you so much Dr. Zeeshan! you helped me a lot. Cheers from Brasil.

LuizScarparoo
Автор

worked for me thank you. insted of this "D:\flutter\" i have to use "D:\flutter" just remove end backslash

MustafaMehraab
Автор

My solution- delete repated path or remove unnecessary path from system environment, surely it will work👍

Manishkumar-wttf
Автор

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😄

harjinderbains
Автор

Thanks! I just needed the final command to fix the problem😍😍😍

umarmughal
Автор

thank you so much last step resolved the issue you deserve like and subscribe and i did

KatCodeByRabnawaz
Автор

Thank you so much you saved me 3 hours in my computer not knowing guatdefoco doing ;-;

Cuya
Автор

Thanks, you're the best!! The problem is fixed now, and you just earned yourself a subscriber.

henrysantana
Автор

Thanks! I just needed the final command to fix the problem :)

melissamunozflandez
Автор

Thank you sir :-) the last method worked perfectly.

selfRule_channel
Автор

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???

pwhepxk
Автор

it still says Unable to find git in your PATH 😓

shareefalshareef
Автор

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 [<options>]

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 <file> use given config file
--blob <blob-id> 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 <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 <value> 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!

mustafizurrahman
Автор

impressive way of explaining sir, simple and easy..

zeeshanmazharmehar
Автор

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?

innocentiqra
Автор

Sir i tried three methods including last one, but getting same error. Unable to find git your path

sheerazahmad
Автор

Obrigado! Muito obrigado mesmo! eu estava quase jogando o meu pc na parede.

GabrielRodrigues-ujen
Автор

Thank You Sir....Really Appreciate it😘😘😘

muzammilnadeem
Автор

It's not still working. When you run cmd "flutter roctor", error still : "Unable to find git in your PATH"

gingHXH