Hostinger

How to download full source of old commit in BitBucket?

It’s very easy to download complete source of your project from an old commit by just following these steps:

  1. Click on Commits from the dashboard of your project in BitBucket.
  2. Get the commit id of the commit you want to access e.g. 341583f
  3. Open https://bitbucket.org/USERNAME/PROJECT_NAME/get/COMMIT_ID.zip
  4. From above url replace USERNAME , PROJECT_NAME and COMMIT_ID with your own username, project name and commit id relatively. This will give you older version of your project up to that commit.

It’s very useful to access older version of your project. I just found this solution so I shared it. I hope it would help someone.