How to Download a Branch or Tag from Bitbucket Server using the Command Line

How to download a branch or tag from the bitbucket server using the command line. To download the Bitbucket branch/tag as a zip file from the command line. Do the following steps:

Step 1: Login to your server
Step 2: Copy the below line and change the Username, download zip url as mentioned below.

curl --user #username# -L -O https://bitbucket.org/#team_name#/#repo_name#/get/ 

You need to replace ## value with correct details and it will look like as below:

curl --user chandanavyatech -L -O https://bitbucket.org/avyatech/wp-dev/get/3ec81d47abe4.zip

Step 3: Press Enter and it will ask for a password (bitbucket login password).

Step 4: Once you enter the correct password it will start to download the zip file.

Let’s create something beautiful and innovative together! call us now!

Chat with our seniors to see if we have a good match

SHARE IT ON

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

BLOG

Our recent post