Home Β» Android Β» Cannot use git in Android Studio's terminal

Cannot use git in Android Studio's terminal

Posted by: admin June 15, 2020 Leave a comment

Questions:

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 πŸ˜€

How to&Answers:

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