Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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
Answer accepted

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
TAGS
Community showcase
Published 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...

4,426 views 4 8
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you