visualizing history in Source Tree

Is it possible in Source Tree to visualize how files and directories looked like at certain commit back in the past ?

I have manage to see only a delta: a list of the content that was added/removed from my branch at certain commit, but not how the content of such branch looked like at the moment of the commit. In other words, I would like to see both the files and the directory structure at that point in time.

1 answer

1 accepted

This widget could not be displayed.

You can press space on any file you select in the log view to get a Quick Look of the whole file at that point in time, or double-click the file to open it as it was in the default editor.

Oh, I see - no you can't browse a complete snapshot of the entire repository unless you create a copy & update to that version, right now.

thanks for the answer Steve. In fact what I want to see is both the files and the directory structure at certain commit. I think my original question was not that clear, so I have updated it a bit.

Double-clicking doesn't open it as it was any more, it opens the version as it is in the working directory. Quick look still works, but it's a poor substitute.

Actually double-clicking has always opened the current version, the thinking being that you often locate files that you want to edit via the log or search panes.

But, you can already open the historical version in a full editor, all you have to do if the Quick View peek at the historical version isn't enough is to click the 'Open in' button at the top right of the Quick View window. This opens the version you're seeing in the Quick View pane in a full editor, which is what you want. This way, we can allow you do do both things - locate files you want to edit in the current working copy via log/search, and also see the historical version in full.

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

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...

723 views 1 3
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