wild card search not working as expected in SourceTree

Amit I'm New Here Oct 27, 2017

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

0 vote

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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Brian Ganninger
Published Jan 23, 2018 in Sourcetree

Tip from the team: workflow and keyboard shortcuts

Supported Platforms macOS Sourcetree has a lot to offer and, like many developer tools, finding and using it all can be a challenge, especially for a new user. Everyone might not love ...

649 views 0 4
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