Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to download source code for a particular commit in Bitbucket?

Tags:

bitbucket

I would like to download (as zip) a particular commit in Bitbucket. Unfortunately I can not find any facility in the UI to do it.

(I've already found out that I can see the source by copy and pasting the short hash of the commit after the url: https://bitbucket.org/myname/myproject/src/) Is this manual way only to browse the source code of a particular commit?)

like image 763
g.pickardou Avatar asked Aug 05 '14 07:08

g.pickardou


1 Answers

The url below should work. Just change required parts.

https://bitbucket.org/<username>/<reponame>/get/<commitCODE>.tar.gz 

(without hypens)

like image 199
siniradam Avatar answered Sep 30 '22 14:09

siniradam