@fearless-ma/gitcommit
https://github.com/FearlessMa/gitMessage#readme
Last updated 16 days ago by fearless-ma .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @fearless-ma/gitcommit 
SYNC missed versions from official npm registry.

git auto-commit

  • 自动提交git commit
    • gitHook eslint 校验
    • prettier 格式化代码
    • changelog 自动生成
    • version 自动生成
    • git message 格式化

配置

  {
    "commit":"auto-commit",
    "lint":"eslint src && lint-staged" // eslint
  }

git操作

  • 默认使用git push origin currentBranch

  • 使用其他方式需配置.auto-commit 文件

{
  "pull":"",
  "push":"origin HEAD:refs/for/"  // git push origin HEAD:refs/for/currentBranch
}

使用命令 npm run commit

Current Tags

  • 1.18.1                                ...           latest (16 days ago)

14 Versions

  • 1.18.1                                ...           16 days ago
  • 1.17.1                                ...           16 days ago
  • 1.16.0-alpha.2                                ...           16 days ago
  • 1.16.0-alpha.0                                ...           17 days ago
  • 1.15.0                                ...           17 days ago
  • 1.15.0-alpha.4                                ...           17 days ago
  • 1.15.0-alpha.3                                ...           19 days ago
  • 1.13.0                                ...           20 days ago
  • 1.9.0                                ...           a month ago
  • 1.8.0                                ...           a month ago
  • 1.7.3                                ...           a month ago
  • 1.7.2                                ...           a month ago
  • 1.7.1                                ...           a month ago
  • 1.6.3                                ...           a month ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 172
Dependencies (4)
Dev Dependencies (9)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |