Jimmyt1988 Jimmyt1988 - 2 months ago 6x
Git Question

How do you search for a branch in SourceTree

How do you search for a branch in SourceTree.

It has gotten to the point where i have hundreds of branches and looking through a list in the remote branch tree is next to impossible.

Is there a way of doing it?


I don't think this is possible directly in SourceTree, but you can grep branches via the command line

git branch --all | grep <query>

for example

git branch --all | grep notifications

Will return all branches (remote or local) that contain notifications in the name.