wild card search not working as expected in SourceTree

SourceTree version 2.3.1.0 under windows.

I have multiple files in Unstaged area and want to find all file with cpp extension. When I type *.cpp in the search box, I don't get any result back. But if I type only cpp (without preceding dot) I get all the file which have cpp in their file name including file path.

My question is how do I search for file with a particular extension ? (e.g. *.cpp)

1 answer

This widget could not be displayed.

Try skipping the wildcard character and simply search for .cpp by itself. Let us know if that's not the case and it still fails.

Cheers,

Brian Ganninger
Senior Mac Developer, Sourcetree

Thanks for reply.

I got it working by selecting Pending filed filter on the left.

Do you know if there is any documentation around how to use wild cards or regular expressions for filtering ?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published May 30, 2018 in Sourcetree

Tip from the team: configuring Git or Mercurial in Sourcetree

Supported Platforms macOS Windows To make using Sourcetree as simple yet powerful as possible we embed (bundle) dependencies such as Git, Git LFS, and Mercurial. We strive to keep these...

874 views 2 3
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you