Is it possible to view all files at a given commit and not just the ones that were changed?

This question is in reference to Atlassian Documentation: Viewing Log/History of a Repository

Is it possible to view all the files as they were at a given commit and not just the files that were changed? I would like to be able to have a treeview of the files available at every single commit, just like git-extensions have in their "File tree" pane when browsing a repository.

Best Regards

Bjarne

1 answer

Yes.  In the pul-down menu in the upper left corner (it probably says something like "Pending files, sorted by file status") select "all Files" (and perhaps "sorted by path", if you like)

 

Screen Shot 2016-06-01 at 9.29.31 AM.png

What you describe only shows all files for the currently checked out branch.

I want to see all the files (at the bottom arrow) at any given commit when I select a commit from the history (top arrow). See screen shot:

Source tree screen shot.jpg

Just check out the commit.  Then go to the File Status screen.

I know that it is possible, but it makes for a very cumbersome workflow if you are looking for something specific.

I think it's the best you can do.  As far as I know, the bottom of the History tab is always going to just show the diff between commits.

Theoretically if you had an initial commit that was (mostly) empty you could do a multi-select to compare a given commit with that empty commit, which should give you a pretty comprehensive list of the files - but that seems a bit kludgey.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Brian Ganninger
Published Jan 23, 2018 in Sourcetree

Tip from the team: workflow and keyboard shortcuts

Supported Platforms macOS Sourcetree has a lot to offer and, like many developer tools, finding and using it all can be a challenge, especially for a new user. Everyone might not love ...

649 views 0 4
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