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 vote

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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Brian Ganninger
Published Jan 23, 2018 in Sourcetree

Tip from the team: workflow and keyboard shortcuts

Supported Platforms macOS Sourcetree has a lot to offer and, like many developer tools, finding and using it all can be a challenge, especially for a new user. Everyone might not love ...

729 views 0 4
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