1.0.3 • Published 6 years ago

git-committer v1.0.3

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

:slot_machine: git-committer ====

A node.js script to generate a git commit commit record.

一个用来生成 git commit 提交记录的 node.js 脚本

用来填满 github 绿色小方块(或者其他用途).

Before before

After :sparkles: :sparkles: :sparkles: after

smaile

Usage

脚本仅用来 commit, git 仓库需要自行配置。

  1. cd <you project directory>
  2. npm install git-committer -g
  3. git-committer <startDate> <[endDate] [total]> <randomRange> [options]

Examples

  • Use end date
    • git-committer 2017-01-01 2017-12-31 1-3
  • Use total days
    • git-committer 2017-01-01 365 1-3
  • Ignore weekend days.
    • git-committer 2017-01-01 365 1-3 -W
  • Ignore the holidays.
    • git-committer 2017-01-01 365 1-3 -H -c CN

Options

  • -W --weekend 跳过周末. Ignore weekend days.
  • -H --holiday 跳过节假日. Ignore the holidays.
  • -c --country <country> 国家用来判断节日. Country used to judge whether it is a holiday.

-H 需要 -c <country> 判断是否为节日,支持的国家

License

MIT

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago