@weareneopix/daily-log
v1.0.0
Published
Generate a log based on the daily commits.
Downloads
3
Readme
Generate a log based on the daily commits. The commit message format that is used and pares by git-daily-log
is Karma Semantic Commits
Installation
Via npm:
npm i -g @weareneopix/daily-log
Usage
git-daliy-log [<range>] [<options>]
<range>
Show only commits in the specified revision range. When no <range>
is specified, it defaults to HEAD
(i.e. the whole history leading to the current commit). origin..HEAD specifies all the commits reachable from the current
commit (i.e. HEAD), but not from origin. For a complete list of ways to spell <range>
, see the Specifying Ranges section of gitrevisions.
Options
The CLI provides options to customize the output.
| Option | Description | Required |
|-------------------------|----------------------------------------------------------------|----------|
| -a, --author <author>
| Show only commits from provided author
| No |
| -s, --since <date>
| Show commits more recent than a specific date. More info. | No |
| -m, --me
| Show only my commits | No |
| -h, --help
| Get CLI usage information | No |
Examples
Show all your commits since yesterday:
git-daily-log -m -s "1 day ago"
# or
git-daily-log --me --since "1 day ago"
Show all commits between two tags:
git-daily-log 1.3.0..1.2.1