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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 30, 2018 in Sourcetree

Tip from the team: configuring Git or Mercurial in Sourcetree

Supported Platforms macOS Windows To make using Sourcetree as simple yet powerful as possible we embed (bundle) dependencies such as Git, Git LFS, and Mercurial. We strive to keep these...

546 views 1 2
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