我认为这很容易,但我没有克隆http://github.com/jacksonh/manos所以我可以构建项目。
[dev@vps ~]$ git clone http://github.com/jacksonh/manos
Initialized empty Git repository in /home/dev/manos/.git/
以上永远不会返回,也永远不会创建任何目录。我可以使用http地址浏览源代码,但我不确定如何克隆git?
答案 0 :(得分:1)
这应该适合你。
git clone https://github.com/jacksonh/manos.git
它对我有用:
$ git clone https://github.com/jacksonh/manos.git
Cloning into 'manos'...
remote: Reusing existing pack: 9805, done.
remote: Counting objects: 34, done.
remote: Compressing objects: 100% (34/34), done.
remote: Total 9839 (delta 8), reused 10 (delta 0)
Receiving objects: 100% (9839/9839), 5.28 MiB | 1.99 MiB/s, done.
Resolving deltas: 100% (5128/5128), done.
Checking connectivity... done.