Cannot use git in Android Studio terminal

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

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

+4
source share
1 answer

File -> Settings -> Version Control -> Git -> Click Test to check if the test succeeds, if not, you need to adjust the path that git includes.

You may also need to modify cmd.exe . Go to the "Settings" section, find the terminal and specify the path "C: \ Program Files (x86) \ Git \ bin \ sh.exe" --login -i

+16
source

All Articles