如何在Android studio的Terminal中使用git命令(Windows环境)

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/weixin_38515203/article/details/88051663

1、首先电脑中需下载Git,并安装

2、找到本地Git的bash.exe的路径,E:\Git\bin(我的路径,请各自查找)

7208373-2f53d492a68af494.png
bash.exe

3、打开AS的设置,搜索Terminal,在Shell path中填写上述bash.exe的路径

7208373-d80051a0a88b7378.png
Tools-Terminal.png

4、配置Git
7208373-e83f25b26b62c71a.png
git配置

5、查看git命令是否可用
7208373-ccf028fe5e0296f5.png
git操作

以上就是替换AS Terminal的全部设置,当然其中可能还会出现一些问题,欢迎交流。

猜你喜欢

转载自blog.csdn.net/weixin_38515203/article/details/88051663