Sublime Forum

How to add "--no-merges" functionality to the "commits" column?

#1

How do I get the git log --no-merges type of functionality in the commits column?
i.e., don’t show merge commits

git log --no-merges
Do not print commits with more than one parent. 
This is exactly the same as --max-parents=1.

[git log --help]

0 Likes

#2

As the git help is sort of suggesting, you can do that by doing a search and specifying to only show commits with at most one parent.

Here that would be Navigate > Search from the menu (see the menu entry for the key bound to it) and then as a search criteria enter max-parents: 1.

0 Likes