Used in a Sentence

no-merges

How to use no-merges in a sentence. Live example sentences for no-merges pulled from indexed public discussions.

Editorial note

Use --no-merges, and get a nice looking linear history without those pesky merge commits.

Examples15
Definitions0
Parts of speech1

Quick take

Use --no-merges, and get a nice looking linear history without those pesky merge commits.

Example sentences

1

Use --no-merges, and get a nice looking linear history without those pesky merge commits.

2

Ha, nice, there's two options that definitely would've simplified my code (--numstat and --no-merges).

3

Here's the command that generated those outputs [1]: git shortlog -ns --no-merges v11..

4

In any case, I would hope the stats were gathered with --no-merges; if not, that would indeed skew the stats.

5

If you don't like seeing merges use git log --no-merges.

6

Surprised to not see a mention of the —no-merges flag.

7

`git log --no-merges` saved me a lot of headaches after switching to a pull request-based review model at work.

8

But that's easily solved with a simple switch: --no-merges.

9

As we tagged each release with a version number, it was easy to get the commit messages since the last release with: lastTag = `git describe --abbrev=0 --tags` git log --oneline --no-merges #{lastTag}..

10

Not having looked at the git repository, but if merges happen often, that can very much artificially inflate the number of commits attributed to him, except if the stats were gathered with --no-merges.

11

> git shortlog -sn --no-merges Is the most egregious.

12

While it's true that Michael generates lots of merge commits, if you click the link in LWN article to Andreas Cadhalpun's mail [1], then you can read that following commands were used to generate statisticts: Libav: $ git shortlog -ns --no-merges v11..

Quote examples

1

Sometimes it's useful to see the summations only ("--first-parent"), sometimes you only want the individual atomic changes ("--no-merges"), sometimes you want to see them all but visually grouped together for clarity ("--graph").

2

For a low-tech version of this, I have long had an alias (which I call "nerdwars") to "git shortlog -ns --no-merges" which just gives the number of commits by contributor from most to least.

3

Once I understood it as a series of revisions where even branches have little meaning, I never used gitk again… The command line is actually very good if one gets in the habit of using something like “git log -oneline —reverse —no-merges origin/main..

Frequently asked questions

Short answers drawn from the clearest meanings and examples for this word.

How do you use no-merges in a sentence?

Use --no-merges, and get a nice looking linear history without those pesky merge commits.