Generate a Git Release Report in Markdown by comparing two branches and showing all non-merge commits.
And that will output a markdown list of commits grouped by author with commits linked to the repo like so:
## Author A (2): - [f319feb](http://github.com/org/repo/commit/f319feb) commit message here - [5c7c4f5](http://github.com/org/repo/commit/5c7c4f5) commit message here ## Author B (1): - [62d0d04](http://github.com/org/repo/commit/62d0d04) commit message here ## Author C (1): - [bdb10fc](http://github.com/org/repo/commit/bdb10fc) commit message here
The author lines contain two spaces at the end to create a newline BTW.
To copy output, append this to command:
To create a file, append this to command:
To append to a file, append this to command:
Global CLI Utility
npm install --global git-release-report-markdown
cd to the git directory you want and execute according to the Usage section above.
Shared project dependency utility
npm install git-release-report-markdown --save-dev
You'll then set it as a script to run using
npm run. So edit your
package.json to contain this:
Now, you can just run
npm run release-report.