Search code examples
gitfileatlassian-sourcetreehistory

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


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


Solution

  • 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