I created Android Project in Android Studio, now that I would like to push it into my repository.
When I enter the following command in Android Studio terminal:
git remote add origin https://..........
The following error is returned:
git is not recognized as an internal or external command, operable program or batch file.`
How can I fix this?
If "git" is not installed then you need to install git and while installation select option 'Use Git from the Windows Command Prompt'.
If "git" is installed but still you are getting "git is not recognized as an internal or external command" error then you need to set PATH variable to point to git executable. To do that follow the steps below:
You will need to close command prompt and open again. Git command should work now!
Most probably Git is not installed on your machine (or installed incorrectly). Open this link to download an installer. It should do the job for you.
There are also other ways to install Git on Windows.
When you install Git, you must select the option 'run Git from the Windows command prompt'?
Download the latest version of the Git from here : http://git-scm.com/download and try again!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With