Skip to content

Commit

Permalink
docs(1.1): 补全clog的README文档
Browse files Browse the repository at this point in the history
Signed-off-by: Tony Deng <[email protected]>
  • Loading branch information
tonydeng committed Apr 25, 2017
1 parent b36c1a2 commit aff7ee7
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,25 @@ git ci
0. quit: 退出
```

#### git clog

提供项目的`CHANGELOG`输出,支持输出到终端或指定文件中,可以使用`git clog -h`来查看帮助信息。

输出的格式大致如下,符合`Markdown`语法:

```
# tag
#### [author](mailto:email) (commit_count)
* commit message (commit date) [commit_short_sha1](commit_url)
* commit message (commit date) [commit_short_sha1](commit_url)
```

显示效果如下:

![git-toolkit changelog](http://i1.piimg.com/567571/0ac12a53247a0fec.jpg)

### Hook脚本

#### commit-msg
Expand Down

0 comments on commit aff7ee7

Please sign in to comment.