Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to search in commit descriptions

Can sourcetree be used to search in commit descriptions in a branch (or multiple branches..)?

Seems strange that I can't seem to find such a useful feature.

5 answers

1 accepted

14 votes
Answer accepted

At the bottom of the interface is a search tab (File Status, Log / History, Search). It does search commit messages, but I don't think it can be restricted to a particular branch.

You can also search file changes or authors using the dropdown to the right of the search box, but that doesn't sound particularly helpful.

Meanwhile, the search view button moved to the top left corner of the UI where you can switch between

  • File Status (check-mark symbol)
  • Log (clock symbol)
  • Search (magnifying glass symbol)

Select Search, "Commit Message" next to the "Search:" label and enter your search String left of it, and hit Enter.

Thank for the update, the Magnifying glass symbol just not catch my eye attention. I am looking for it. Thanks for your update!

For Mac users, you can also use the "Command + 3" shortcut

屏幕快照 2016-08-15 下午3.55.52.png

Just for the record - searching anything "in a branch" is not possible due to the principle of branches. Branch is only a pointer to a single commit, which is considered to be "the last commit of the branch", and commits itself do not "belong to a branch" anyhow else.

Therefore, git cannot determine "which branch was which" before merge commits.

I using SourceTree 3.3.8 and can't find Searching by commit SHA. Where is it?

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Sourcetree

[dev team] Sourcetree for Windows 2019 Preview - Dark Theme

Hi folks, While the full post is over on our blog I'd like to share the dark theme we've got planned for 2019 here directly as well to keep the discussion going.  The ...

3,230 views 19 18
Join discussion

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you