繁体   English   中英

如何克隆 Github 以响应本机项目

[英]How to clone Github to React Native Project

我试图将 github 代码( https://github.com/philnash/react-express-starter )克隆到我的 react native 项目中。 但是,当我在终端中运行命令git clone https://github.com/philnash/react-express-starter.git时,出现以下错误

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`

我对此很陌生,我不知道为什么。 您的帮助将不胜感激!

确保安装了 git:

git --版本

如果 git 未安装,您应该可以选择安装它或访问https://git-scm.com/downloads

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM