如何从GitHub下载ZIP格式的源代码? [英] How to download source in ZIP format from GitHub?

查看:797
本文介绍了如何从GitHub下载ZIP格式的源代码?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我看到一些奇怪的东西:

http ://github.com/zoul/Finch.git



现在我不是CVS,SVN等等。当我在浏览器中打开它时,它告诉我我做错了什么。所以我敢打赌我需要一些黑客风格的工具?一些客户?

(我的意思是......为什么不只是提供一个ZIP文件?世界不够复杂吗?)

解决方案

请注意:截至2013年9月已弃用。请参阅修订后的答案






阅读 http://help.github.com/



通过像这样 URL :是的,您确实需要一个客户端,并且该客户端是 Git 。这将让你做出改变,你自己的分支,与其他开发者同步合并,维护你自己的源代码,你可以很容易地保持最新,而不需要每次下载整个东西,并写下你自己的修改等等。不要让你这样做。



它主要用于那些想要开发源代码的人,而不是仅仅希望获得源代码的人,而不是进行更改。



但是,恰巧你也可以得到一个ZIP文件:



点击 http://github.com/zoul/Finch/ ,然后点击 ZIP 按钮仅位于存储库URL字段的左侧。看到这里:




I see something strange like:

http://github.com/zoul/Finch.git

Now I'm not that CVS, SVN, etc. dude. When I open that in the browser it tells me that I did something wrong. So I bet I need some hacker-style tool? Some client?

(I mean... why not just provide a ZIP file? Isn't the world complex enough?)

解决方案

Please Note: This is deprecated as of September 2013. See revised answer here.


Have a read through http://help.github.com/

To clone that repository via a URL like that: yes, you do need a client, and that client is Git. That will let you make changes, your own branches, merge back in sync with other developers, maintain your own source that you can easily keep up to date without downloading the whole thing each time and writing over your own changes etc. A ZIP file won't let you do that.

It is mostly meant for people who want to develop the source rather than people who just want to get the source one off and not make changes.

But it just so happens you can get a ZIP file as well:

Click on http://github.com/zoul/Finch/ and then click on the ZIP button just to the left of the repository URL field. See here:

这篇关于如何从GitHub下载ZIP格式的源代码?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆