I am trying to checkout a older commit in Bitbucket, Tried the solutions given in this thread https://stackoverflow.com/questions/14528344/how-to-access-full-source-of-old-commit-in-bitbucket
Nothing worked for me, I think Bitbucket got updated a lot. I am able to clone only the newer commit.
Please guide me how to download the older version of the project in Bitbucket.
I assume you are trying to "download" a snapshot of your repo at a given commit, rather than trying to clone? The "git clone" command brings down all commits and after cloning you would simply type "git checkout <commit-id>" within the cloned repo to jump around to see different snapshots of the repo from different moments.
If you are trying to "download" a specific snapshot as I suspect, the StackOverflow answer you linked to is still correct. Try this (but fill in "[user]", "[repo]", and "[commit-id]" with the specific values that pertain to your situation):
https://bitbucket.org/[user]/[repo]/get/[commit-id].zip
For example, for the stash-auto-unapprove-plugin repo, this downloads all source code as of commit e7843d047:
Thank you, It worked. I just did "git clone" of the project and then made "git checkout COMMIT-ID" replaced the COMMIT-ID with the commit id in my repo.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
thanks it worked for me
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks, it worked...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you very much, yes it work like a charm
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
worked perfect
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.