1.0.0 • Published 4 years ago

@weareneopix/daily-log v1.0.0

Weekly downloads
1
License
MIT
Repository
-
Last release
4 years ago

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.

OptionDescriptionRequired
-a, --author <author>Show only commits from provided authorNo
-s, --since <date>Show commits more recent than a specific date. More info.No
-m, --meShow only my commitsNo
-h, --helpGet CLI usage informationNo

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