I've recently done a commit which has deleted a file. What I would like to do is view the revision history of the file that was deleted. Is this possible?
When I try to click on the deleted file I am not able to and it doesn't show up in the folder anymore.
As the other answers say, you'll need to find a version where the file was added or edited. Then click to view its history (right-click, choose Log selected, window with info opens but may not be active window - open from taskbar.)
If you have a lot of versions, then it can be a real pain to go through the old versions to find a version where that particular file was changed.
What I did was to create a new empty file with the same name. Then commit. I now had the file to click on.
Ana's answer is kinda right, but has sequence problems.
To find the revision history of a file that was already deleted ...
Hi, Bitbucket community! Are you a DevOps practitioner (or know one in your network)? Do you have DevOps tips, tricks, or learnings you'd like to share with the community? If so, we'd love to hea...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events