Cannot use git in Android Studio's terminal

霸气de小男生 提交于 2019-12-14 03:39:56

问题


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


回答1:


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



来源:https://stackoverflow.com/questions/32154497/cannot-use-git-in-android-studios-terminal

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!