1

我认为这真的很容易,但我无法克隆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?

4

1 回答 1

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.
于 2014-02-14T22:51:15.750 回答