Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
533 views
in Technique[技术] by (71.8m points)

git - 如何从GitHub下载ZIP格式的源代码?(How to download source in ZIP format from GitHub?)

I see something strange like:

(我看到一些奇怪的东西:)

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

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

Now I'm not that CVS, SVN, etc. dude.

(现在我不是那个CVS,SVN等老兄。)

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?)

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

  ask by dontWatchMyProfile translate from so

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

To clone that repository via a URL like that: yes, you do need a client, and that client is Git .

(要通过以下URL来克隆该存储库:是的,您需要一个客户端,该客户端是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.

(这将允许您进行更改,您自己的分支,与其他开发人员同步合并,维护您自己的源,您可以轻松地保持最新,而无需每次下载整个事情并编写您自己的更改等。赢得了ZIP文件不要让你这样做。)

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:

(但它恰好也可以获得一个ZIP文件:)

Click on http://github.com/zoul/Finch/ and then click on the green Clone or Download button.

(单击http://github.com/zoul/Finch/ ,然后单击绿色克隆或下载按钮。)

See here:

(看这里:)

在此输入图像描述


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...