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.
Author: Chandan Kumar
Tags: bitbucket, Download, Download a Branch from Bitbucket, download tag from bitbucket server, tag from bitbucket server