BitBucket - 下载源为ZIP [英] BitBucket - download source as ZIP

查看:246
本文介绍了BitBucket - 下载源为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屋!

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