BitBucket - 下载源为ZIP [英] BitBucket - download source as ZIP
问题描述
git clone
命令获取项目,但有什么办法,如何通过web界面从 BitBucket.org ? 最好的方法是,我正在寻找一种下载ZIP压缩文件的项目源的方法。
第一种方法
在回购的概述页面中,有一个下载项目的链接。
第二种方法
转到下载 - >分支 - >下载所需的分支(如.zip,.gz或.bz2)。在那里你会找到所有标签的下载链接。链接的格式如下:
https://bitbucket.org/owner/repository/get/v0.1.2。 tar.gz
通过调整一点,您还可以通过更改标签到提交哈希:
https://bitbucket.org/owner/repository/get/A0B1C2D.tar.gz
I know I can get the project through git clone
command, but is there any way, how to download the project through the web interface from BitBucket.org?
In the best way, I am looking for a way to download a project source as ZIP compress file.
First method
In the Overview page of the repo, there is a link to download the project.
Second method
Go to Downloads -> Branches -> Download the branch that you want (as .zip, .gz or .bz2). There you'll find download links for all tags. The links will be in the format:
https://bitbucket.org/owner/repository/get/v0.1.2.tar.gz
By tweaking it a little bit, you can also have access to any revision by changing the tag to the commit hash:
https://bitbucket.org/owner/repository/get/A0B1C2D.tar.gz
这篇关于BitBucket - 下载源为ZIP的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!