14

I use Github in Android Studio 3.3.1. I know I can open Version Control using Alt+9.

And Git command and result will be displayed in Console of Version Control. Can I input Git command and run it directly in Android Studio IDE ?

HelloCW
  • 843
  • 22
  • 125
  • 310

3 Answers3

26

Yes sure. About android studio on Windows you can change default command line to "bash" First install git bash then Setting in android studio to run terminal from bash

  1. File -> Settings search for "terminal"
  2. In topic "terminal" select on "Application settings" title then change "Shell path" to the directory of installed "git bash" default root shell is "C/Program file/git/bin/bash"

close your current terminal and open new one in android so you will see new terminal with can use git command.

s. srichomthong
  • 486
  • 5
  • 14
14

From your Android studio ->

Go to -

File->Settings->Tools->Terminal Make your settings there.

Android studio terminal

Hope you will be able to find out the Terminal.

Android studio with terminal

Al-Amin
  • 1,369
  • 1
  • 9
  • 26
5

or, for windows 10 on the File->Setting->Terminal->Shell path change the cmd.exe to powershell.exe. You will get git and also more linux commands plus some cool colors etc.

Harrys Dim
  • 51
  • 1
  • 2