无法在Android Studio的终端中使用git [英] Cannot use git in Android Studio's terminal
问题描述
感谢大家的帮助,重新启动windows之后,我在终端中使用了git命令:D
文件 >> 设置 >> 版本控制 strong> >>点击测试以查看测试是否成功,如果不是,则必须调整包含git的路径。
可能您还需要更改 cmd.exe 。转到设置,搜索终端并包含路径C:\程序文件(x86)\Git\bin\sh.exe--login -i
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
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
这篇关于无法在Android Studio的终端中使用git的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!