1

In Source Tree's Search View I can easily filer commits by one author this way:

  1. Enter Search View with CTRL+3;
  2. Choose Authors as search criteria;
  3. Type the name of the author (e.g. Smith) in the bar.

It happens that I need to cherry pick commits by 2 authors (e.g. Smith and Watson).

How can I do that?

0

How do I filter commits by two (or more) authors?

You can use regular expressions, for example:

\(Smith\)\|\(Watson\)

Source git - Sourcetree log commits of an author or a group of authors answer by axiac


Further Reading

| improve this answer | |
  • This does not work in Sourcetree on Windows. – Razvan Zamfir Nov 13 '19 at 11:56
  • @RazvanZamfir Please try Smith\|Watson – DavidPostill Nov 13 '19 at 11:58
  • Still not working. – Razvan Zamfir Nov 13 '19 at 12:02
  • @RazvanZamfir Well according to the linked answer it should work. – DavidPostill Nov 13 '19 at 12:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.