Skip to content

通过git提交记录生成周报的工具 git便捷工具

Notifications You must be signed in to change notification settings

1091214370/logsTool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

weekly reports周报生成工具(git)git便捷工具

更新记录

v1.0.5

  1. 动态配置打印版本号

v1.0.4

  1. git便捷提交不在向线上提交代码

v1.0.3

  1. 优化git便捷提交内报错规则

v1.0.2

  1. 支持打印自定义时间内的本人提交记录
  2. 支持git代码便捷提交命令 提交git ignore之外的所有更改

v1.0.0

  1. 支持4天以内的当前项目的所有自己的提交记录

使用方法

目前仅支持git项目,使用前需要安装。

npm i cwr -g

打印提交日志

安装完成后,在自己本地的git项目内执行cwr -d [number]或者cwr --days [number],控制台内会打印出来近[number]的提交记录,默认为4天,打印格式为:

[提交对象的简短哈希字串] - [author(你自己)], [提交日期]:[提交说明]

快捷提交代码到远程仓库

执行cwr -c [message]cwr --commit [message],例如cwr -m 提交代码内容,即可完成git add * => git commit => git pull。message为必填项。

About

通过git提交记录生成周报的工具 git便捷工具

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published