Dimitri Dewaele
Dimitri Dewaele

Reputation: 10659

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:

The SourceTree file history is quite good.

enter image description here

enter image description here

Upvotes: 38

Views: 36956

Answers (2)

hardyx
hardyx

Reputation: 31

You can view an individual file log by name, using the same method in juffel's answer (Workspace > File status > All files in combo), and then write the filename in the Search box at the right. You will see directly the file log without searching manually in the file list.

Upvotes: 2

juffel
juffel

Reputation: 1115

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

Upvotes: 55

Related Questions