Cannot use git in Android Studio's terminal

12,278

File >> Settings >> Version Control >> Git >> Click on Test to see if the Test is successful, if not you have to adjust the path which includes git.

Probably you need to change also cmd.exe. Go to Settings, search terminal and include the path "C:\Program Files (x86)\Git\bin\sh.exe" --login -i

Share:
12,278
hopdacho
Author by

hopdacho

Updated on July 22, 2022

Comments

  • hopdacho
    hopdacho almost 2 years

    Like my title, I cannot use git in intergrated terminal in Android Studio, although I added Path in Enviroment Variable. Please tell me why?

    Thanks everybody for your help, after restarting windows, I used git command in terminal :D