Stash view files at a certain commit

I'm struggling with how to view all my files in a repo at a certain commit. I can see commits and see what files changed within that commit but I can not find a way to view the other files at that point in time.

For reference I am looking for the equivilant of github's "Browse Code" link on the commits page.

My use-case is i'm trying to view a deleted file a few commits back.

7 answers

1 accepted

This widget could not be displayed.

Hi Chason,

So there isn't currently a link that lets you do that, but if you don't mind URL hacking you can just add "?at=your_hash_here" to show you the source at a particular commit.

I just whipped this plugin up in a few minutes, is this what you were looking for (see downloads for the jar)?




Thank you for your quick reply and I apologize for my delay. I'll test this and get back to you but it sounds like what I need. Although, i'm a bit concerned that this wasn't already included in the core code. This seems like a fairly common use case. On the other hand i'm impressed it's so easy to make a tweak via a plugin.

It does exactly what I expected. Thank you for your help.

This widget could not be displayed.

Why isn't this in the Stash core? Ridiculous.

This widget could not be displayed.

I can't believe it ... Any plan to fix this soon ?

This widget could not be displayed.

Would be nice to see this in Stash itself, but kudos to Charles, that plugin is simple enough to use : )

This widget could not be displayed.

Just found this and still can't believe it's not in Stash (Bitbucket Server) over a year later!

Unfortunately your plugin doesn't work in Stash/Bitbucket Server 4.0 - the resource module is disabled and it says it cannot be modified. The Browse Code link doesn't appear in the commit diff.

This widget could not be displayed.

I forked the plugin and updated it for Bitbucket Server. See here for the sources:   and here for downloading the plugin jar:    

I coded and tested against Bitbucket Server 4.7.1

Greetings from Germany, Marc.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Aug 21, 2018 in Bitbucket

Branch Management with Bitbucket

As a project manager, I have discovered that different developers want to bring their previous branching method with them when they join the team. Some developers are used to performing individual wo...

1,523 views 9 11
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you