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

2 votes
Accepted answer

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
Community showcase
Published Oct 23, 2018 in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

972 views 4 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