I wanted to download a commit to tar.bz2 format. I figured it out, but the documentation is wrong. It shows options that don't exist as far as I can tell.
https://confluence.atlassian.com/bitbucketserver/download-a-repository-archive-913477030.html
I looked for the download pulldown and it doesn't exist. I figured out how to copy url and use the ?format= keyword, but the other information appears to be just plain wrong - and the documentation appears to have been updated in February 2023 - so not sure what is going on.
G'day @gbcox
It looks like the KB you shared is for Bitbucket server, and I wonder if you are in Bitbucket cloud or server?
If you are on the cloud, then the KB doesn't apply to it, which makes sense because it's different as both products don't share the same feature and are entirely on other platforms.
Anyway, you can download your commits by simply changing the URL:
For example, you wish to download commit abs232
Change the URL:
https://bitbucket.org/<workspacename>/<repositoryname>/get/abs232.tar.bz2
This should download the specific commit as .tar.bz2
Regards,
Syahrul
Thanks so much for the quick reply! I am on the Bitbucket cloud.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.