git命令在android studio终端中不可识别 [英] git command not recognisable in android studio terminal

查看:590
本文介绍了git命令在android studio终端中不可识别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我也刚刚下载了android studio以及 git.exe 。我在版本控制中更新了路径 - >> git也使用了适当的 git.exe 路径并经过测试,并且成功。现在从终端输入git clone



现在重新启动Android studio效果更改。



就是这样。现在你可以使用终端作为git bash ..


I have just downloaded android studio as well as git.exe also. I have updated path in version control-->>git also with appropriate git.exe path and tested and it is successful. Now from terminal when I type git clone http://my projectlink, it says "'git' is not recognized as an internal or external command, operable program or batch file."

Am I missing anything else?

解决方案

I found the simple solution here.

Go to File--> Settings-->Terminal-->Shell Path --> Browse--> path of git bash.exe-->Apply-->OK

Now Restart the Android studio effect changes.

That's it. Now you can use terminal as git bash..

这篇关于git命令在android studio终端中不可识别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆