kerim Erkan
kerim Erkan

Reputation: 171

How to clone Github to React Native Project

Im trying to clone github code (https://github.com/philnash/react-express-starter) to my react native project. However, When I run the command git clone https://github.com/philnash/react-express-starter.git in the terminal, I get the following error

git : The term 'git' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.At line:1 char:1

+ git clone {https://github.com/philnash/react-express-starter.git}
+ ~~~
+ CategoryInfo          : ObjectNotFound: (git:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException`

I am pretty new to this and Im not sure why. Your help would be highly appreciated!

Upvotes: 0

Views: 326

Answers (1)

Ben D.
Ben D.

Reputation: 11

Make sure git is installed:

git --version

If git isn't installed that should give you an option to install it or visit https://git-scm.com/downloads

Upvotes: 1

Related Questions