我如何克隆这个spring / angularjs git项目?

时间:2015-12-15 23:41:49

标签: git

如何将this spring boot / angularJS github project from github克隆到本地CentOS 7 devbox中?

这是迄今为止我尝试过的终端日志,但没有成功:

[root@localhost workspace]# git clone https://github.com/spring-guides/tut-spring-security-and-angular-js/tree/master/modular
Cloning into 'modular'...
fatal: repository 'https://github.com/spring-guides/tut-spring-security-and-angular-js/tree/master/modular/' not found
[root@localhost workspace]# git clone https://github.com/spring-guides/tut-spring-security-and-angular-js/tree/master/modular.git
Cloning into 'modular'...
fatal: repository 'https://github.com/spring-guides/tut-spring-security-and-angular-js/tree/master/modular.git/' not found

1 个答案:

答案 0 :(得分:0)

  

git clone https://github.com/spring-guides/tut-spring-security-and-angular-js.git

如果您转到项目的主页面(https://github.com/spring-guides/tut-spring-security-and-angular-js),您可以找到克隆URL(“HTTPS”下拉列表旁边)。