0

I'm try to clone a repo from github, but git show this message:

$ git clone https://github.com/invertase/react-native-firebase-starter.git
Cloning into 'react-native-firebase-starter'...
git: 'remote-https' is not a git command. See 'git --help'.

I've reinstall a many times git, but it doesn't work

8
  • 1
    Please provide more information about your environment. This error is due calling the incorrect executable. Instead of submitting a comment, provide the relevant information as an edit, necessary to answer your question.
    – Ramhound
    Jan 10, 2019 at 2:54
  • related: stackoverflow.com/questions/51366101/…
    – jonsca
    Jan 10, 2019 at 3:00
  • Please do provide the necessary information required to answer your question, instead of just confirming the link was helpful.
    – Ramhound
    Jan 10, 2019 at 3:00
  • Git version that I'm running is 2.20.1 on windows 10 And that link isn't helpful for me
    – Set Jafet
    Jan 10, 2019 at 3:05
  • My problem is the path of environment variable, the path that works is C:\Program Files\Git\mingw64\libexec\git-core, thank you
    – Set Jafet
    Jan 10, 2019 at 3:19

1 Answer 1

0

I'm try to clone a repo from GitHub, but git show this message:

git: 'remote-https' is not a git command. See 'git --help'.

You need to run the correct executable, based on your own feedback, you should be calling C:\Program Files\Git\mingw64\libexec\git-core in order to accomplish your goal.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .