2014-02-14 111 views
1

我认为这将是非常简单的,但我没有克隆http://github.com/jacksonh/manos,所以我可以建立项目。克隆Gosub仓库manos

[[email protected] ~]$ git clone http://github.com/jacksonh/manos 
Initialized empty Git repository in /home/dev/manos/.git/ 

上述内容永远不会返回,也不会创建任何目录。我可以使用http地址浏览源代码,但我不确定如何获得git克隆?

+1

此命令工作正常,我。你使用代理吗?或者你可以检查一下git卡住的地方吗? –

回答

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. 
+0

如果你看我的问题,我错过了“https”,我有“http”。它没有给我任何错误,它只是坐在那里!它适用于“https”。谢谢,所有的设置! – tradetree