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

Поделиться
HTML-код
  • Опубликовано: 27 окт 2024

Комментарии • 100

  • @ArbiKSoftech
    @ArbiKSoftech 18 дней назад

    thank you !!! Sir , your student from sindh university and fan , starting flutter today , will watch your all videos

  • @rajivi
    @rajivi 3 месяца назад +8

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

  • @rayyanazmi3753
    @rayyanazmi3753 7 дней назад

    The last part worked for me 5:06
    Thankyou Dr.Zeeshan!

  • @MustafaMehraab
    @MustafaMehraab 2 месяца назад

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

  • @LuizScarparoo
    @LuizScarparoo Месяц назад +1

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

  • @azharjamali7485
    @azharjamali7485 Месяц назад

    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

  • @harjinderbains4116
    @harjinderbains4116 8 месяцев назад +1

    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😄

  • @umarmughal786
    @umarmughal786 Год назад +2

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

    • @ZeeshanAcademy
      @ZeeshanAcademy  10 месяцев назад

      Good to hear that final command worked. Glad I could help! keep learning.

  • @militaovitor01
    @militaovitor01 26 дней назад

    bro, you're the BEST. i was trying to fix that fucking bug in the past 8 HOURS, THANK YOU!!!!

  • @henrysantana3097
    @henrysantana3097 11 месяцев назад +1

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

    • @ZeeshanAcademy
      @ZeeshanAcademy  10 месяцев назад

      Excellent. glad to hear that this method solved your problem. keep watching.

  • @zeeshanmazharmehar5149
    @zeeshanmazharmehar5149 8 месяцев назад

    impressive way of explaining sir, simple and easy..

  • @selfRule_channel
    @selfRule_channel 11 месяцев назад +1

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

    • @ZeeshanAcademy
      @ZeeshanAcademy  10 месяцев назад +1

      I'm so glad to hear that the last method worked perfectly for you! Keep up the great work!

  • @melissamunozflandez9954
    @melissamunozflandez9954 Год назад +2

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

  • @Cuya1395
    @Cuya1395 4 месяца назад

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

  • @mustafizurrahman5018
    @mustafizurrahman5018 Год назад +1

    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!

  • @KatCodeByRabnawaz
    @KatCodeByRabnawaz 2 месяца назад +1

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

  • @jdushsb75hhssjixgbq
    @jdushsb75hhssjixgbq Месяц назад

    thanks a lot sir , even i don't understand hindi but i solved the problem using the last method

  • @جمعانبنسويد
    @جمعانبنسويد Год назад +5

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

    • @elsafrost7619
      @elsafrost7619 Год назад

      ruclips.net/video/tQLaahQzvvo/видео.htmlsi=ZeMWatynVjoJUZsl i think this fixed it for me.

    • @EditsnTrolls
      @EditsnTrolls 10 месяцев назад

      Did you get a solution? Mine does the same

    • @elsafrost7619
      @elsafrost7619 10 месяцев назад

      @@EditsnTrolls did you try the one I sent?

    • @z4ck_z7
      @z4ck_z7 2 месяца назад

      run vscode or android studio as administrator

    • @جمعانبنسويد
      @جمعانبنسويد 2 месяца назад

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

  • @shareefalshareef7149
    @shareefalshareef7149 Год назад +10

    it still says Unable to find git in your PATH 😓

    • @Cartoonsplay9910
      @Cartoonsplay9910 6 месяцев назад

      same

    • @samsononipede8295
      @samsononipede8295 6 месяцев назад

      Have you resolved it​@@Cartoonsplay9910

    • @maskmusian8596
      @maskmusian8596 6 месяцев назад

      Hey Bro?,
      Have You found the solution?

    • @ovindalmeida7453
      @ovindalmeida7453 6 месяцев назад

      ​@@maskmusian8596 remove the Last slash in the directory name. It worked for me after i removed it

  • @GabrielRodrigues-uj1en
    @GabrielRodrigues-uj1en 9 месяцев назад

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

  • @Al-AlsonEngish
    @Al-AlsonEngish 15 дней назад

    Thank you sir, but:
    'git' is not recognized as an internal or external command,

  • @Manishkumar-wt9tf
    @Manishkumar-wt9tf 5 месяцев назад +2

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

  • @innocentiqra7269
    @innocentiqra7269 Год назад +2

    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?

    • @hussainrizvi5423
      @hussainrizvi5423 Год назад

      Same here...Installed git, added environment variables, executed code yet still same issue

  • @muslimknowledge8619
    @muslimknowledge8619 10 месяцев назад

    Thanks for solving our big problem

  • @rashidkarim9147
    @rashidkarim9147 Год назад +1

    excellent of your final command

    • @ZeeshanAcademy
      @ZeeshanAcademy  10 месяцев назад

      thankyou . glad to hear that it solved your problem. keep learning

  • @BadRoomCinema
    @BadRoomCinema 23 дня назад

    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

  • @sheerazahmad3846
    @sheerazahmad3846 Год назад +2

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

    • @ZeeshanAcademy
      @ZeeshanAcademy  Год назад +1

      Ok. These three should have work. Let me check again for different solution

  • @muzammilnadeem8414
    @muzammilnadeem8414 7 месяцев назад

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

  • @gingHXH
    @gingHXH Год назад +2

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

    • @ZeeshanAcademy
      @ZeeshanAcademy  Год назад +9

      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 '*'

    • @hassamch9228
      @hassamch9228 Год назад

      @@ZeeshanAcademy Thanks, the second option worked for me!

    • @leanhtuanhoang7853
      @leanhtuanhoang7853 10 месяцев назад

      @@ZeeshanAcademy thanks you so much

    • @samsononipede8295
      @samsononipede8295 6 месяцев назад

      The second option worked. Thanks

    • @huamanraj
      @huamanraj 3 месяца назад

      @@ZeeshanAcademy worked for me!

  • @learnwordpress8585
    @learnwordpress8585 9 месяцев назад

    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

  • @danielleeljohnson2628
    @danielleeljohnson2628 9 месяцев назад

    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

  • @angelemilianodelacruzfranc780
    @angelemilianodelacruzfranc780 6 месяцев назад

    Thank you, that helped me.

  • @asifali-fc8xt
    @asifali-fc8xt Год назад +1

    best teaching way

    • @ZeeshanAcademy
      @ZeeshanAcademy  Год назад +1

      thankyou dear. Keep watching and share with your friends.

  • @ahsanalirandhawa4931
    @ahsanalirandhawa4931 Год назад

    Sir still it doesn't resolve the problem i don't know how can I fix that

  • @adityafoujdar100
    @adityafoujdar100 Месяц назад

    Thank you

  • @willyangamer1
    @willyangamer1 5 месяцев назад

    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]

  • @luckyprabaht7
    @luckyprabaht7 25 дней назад +1

    Thankyou

  • @minhlongnguyen3161
    @minhlongnguyen3161 4 месяца назад

    thank you so much

  • @lauta896
    @lauta896 Год назад

    any different aproach? sitll can´t find solution for this :(

  • @yourjoy3886
    @yourjoy3886 5 месяцев назад

    Thank you !!!!

  • @gireeshkottayam9972
    @gireeshkottayam9972 7 месяцев назад

    command prompt crashing after git installation !

  • @alisson.leonard
    @alisson.leonard 11 месяцев назад

    UM MONSTRO SAGRADO PQP TU É MUITO FODA VELHO, QUANDO VC VIER PRO BRASIL EU TE LEVO NO BAR DO PERA !!! TMJ

  • @primefitness3977
    @primefitness3977 Год назад

    assalam-o-alkim i am run three command but

    Error: Unable to find git in your PATH.
    was not sloved

  • @nikhilmehra4758
    @nikhilmehra4758 Год назад +1

    Thank you, Brother.

  • @Pandey_.
    @Pandey_. Год назад

    thanks, that command solved the issue

  • @fury6945
    @fury6945 8 месяцев назад

    Thanks man

  • @waqaryounus4479
    @waqaryounus4479 7 месяцев назад

    Sir when i write flutter doctor ma terminal is cancel the whole window

    • @vihsalmeida
      @vihsalmeida 6 месяцев назад

      Same here. Tried everything but nothing works😥

    • @vihsalmeida
      @vihsalmeida 6 месяцев назад

      I deleted flutter SDK, extracted again and it worked

  • @mahdi2011mn
    @mahdi2011mn 11 месяцев назад +1

    thanks.

  • @ZainKhan-hc5gu
    @ZainKhan-hc5gu Год назад

    Thanks Alot it worked

  • @NeshatRahman-h9v
    @NeshatRahman-h9v 16 дней назад

    thanks bro

  • @ismailtech3926
    @ismailtech3926 Год назад

    thanks🥰

  • @theIndianDairyHub
    @theIndianDairyHub Год назад

    Not working plz help

  • @hammadibrahim7238
    @hammadibrahim7238 10 месяцев назад

    sir its not fixed still

  • @WAedits55
    @WAedits55 9 месяцев назад

    Its not working

  • @dipakpadhy4467
    @dipakpadhy4467 Год назад

    3rd option worked for me

  • @EwertonDutra
    @EwertonDutra Год назад

    Nenhuma das formas funcionou, assim como outros abaixo

  • @epodak
    @epodak 8 месяцев назад

    你能不能不要吃咖喱了,我电脑都被你熏坏了.

  • @ztchi5131
    @ztchi5131 Год назад

    thank you man nta tebghi zawali

  • @mohdumar6224
    @mohdumar6224 8 месяцев назад

    Walaikum assalam

  • @MrJais001
    @MrJais001 8 месяцев назад

    Nhi hua 😢

  • @vivekkurre3277
    @vivekkurre3277 Год назад

    kaam nahi kr raha hai koi bhi method

  • @sufyanmukhtar7546
    @sufyanmukhtar7546 Год назад

    no problem solve

  • @thomasstocker8342
    @thomasstocker8342 2 месяца назад

    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.

  • @SrimantraoSonar
    @SrimantraoSonar 10 месяцев назад

    thank you !

  • @Mdowais242
    @Mdowais242 Год назад +2

    not work

    • @ZeeshanAcademy
      @ZeeshanAcademy  Год назад +1

      What exactly is the error you getting.¿ these three solved my problem. Let me check for more

    • @Mdowais242
      @Mdowais242 3 месяца назад +1

      @@ZeeshanAcademy fix problem
      thank you