How to view log of arbitrary file without searching for commits? Edited

As far as I can see, the only git log option is “Log Selected”, which means I need to find latest commit where the file was changed. I often need to see history of a single file, which didn’t change recently and I only know its name and path. I can’t find a way to tell SourceTree to log this specific file from working copy. 

I tried to use Search, but I can’t figure out how does it work, because it often finds totally unrelevant results (for “File Changes” option).

Also, the same question applies to “Blame Selected” option.

Is there a plan to implement simpler way or we will need to find workarounds?

1 answer

This widget could not be displayed.


Assuming the fle still exists in your Working Copy, if you use the Search box in the 'File Status' view it should find the file even if it hasn't been recently modified. You can then use the Log or Blame selected options on that file. 

Oh man, thanks! There is another search field!

Very bad placement, I think. This search field is placed above file diffs, which makes no sense for me.

Suggest an answer

Log in or Sign up to answer
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...

869 views 2 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