How can I find a file in my git repository with SourceTree?

Dimitri Dewaele picture Dimitri Dewaele · Jan 9, 2015 · Viewed 16.6k times · Source

How can I find a file in my git repository with SourceTree?

Currently, the file has to be present in some branch log, but I want to search on the repository.

I want to:

  • right-click the file
  • Log Selected...

  • and peek at it's history.

The SourceTree file history is quite good.

enter image description here

enter image description here

Answer

juffel picture juffel · Aug 22, 2015

In the working copy view there is a dropdown where you can select a filter for the visible files in the column below. Just select "All Files" instead of the "Pending" default.

On the right side there also is a Searchbox to filter this file list.

SourceTree Working Copy View Screenshot