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

0 votes

Hi

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

698 views 3 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