nodejs / branch-diff

A tool to list print the commits on one git branch that are not on another using loose comparison
52 stars 20 forks source link
node nodejs

branch-diff

A tool to list print the commits on one git branch that are not on another using loose comparison

npm npm

Usage

$ branch-diff [--sha] [--plaintext] [--markdown] [--group] [--reverse] [--patch-only] base-branch comparison-branch

A commit is considered to be in the comparison-branch but not in the base-branch if:

The output is the same as changelog-maker and you can use --simple to simplify it for console output instead of Markdown.

The commit list is very close to running:

$ git log main..next

But the comparison isn't quite as strict, generally leading to a shorter list of commits.

Options

License

branch-diff is Copyright (c) 2015 Rod Vagg @rvagg and licenced under the MIT licence. All rights not explicitly granted in the MIT license are reserved. See the included LICENSE.md file for more details.