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

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

Tricertops May 9, 2017

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
minnsey
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 11, 2017

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. 

Tricertops May 11, 2017

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
TAGS
AUG Leaders

Atlassian Community Events