Beautify your git logs !
Git logs look like this by default:
Yolog wraps over standard git log and represents commit message history in a compact manner. It provides a visualization of commit graph, and shows refs, tags and unmerged branches altogether. A yolog powered git log looks like this:
Obtain stable release from PyPI
pip install yolog
Alternatively, to obtain the bleeding edge version, clone the repo and build it from source:
git clone https://www.github.com/karandesai-96/yolog cd yolog && python setup.py install
yolog
in terminal.yolog -h
or yolog --help
in terminal.yolog config attribute COLOR
.-c
or --config
work as well.attribute
can be one of: author, date, description, hash, refs
COLOR
can be one of: RED, GREEN, YELLOW, BLUE, CYAN, PURPLE, BLACK, WHITE
attribute
and COLOR
are case insensitive.git log.
Here are the most common used ones:
Command Example | Description |
---|---|
yolog -n N |
Display recent N commits. |
yolog --skip N |
Skip recent N commits and display further. |
yolog --author "john\ doe" |
Filter commits according to author. Part of name / whole will be accepted. |
|
Display commits before this date. Hyphen (-) or slash (/) can be used interchangeably. |
|
Display commits after this date. Hyphen (-) or slash (/) can be used interchangeably. |
yolog --grep "foo\ bar" |
Display commits with "foo bar" in their description. |
=
can be optionally used in args as: yolog --skip=10
grep
and author
.yolog --grep "fixes\ bug"
Feel free to file bugs, ask questions and suggest enhancements through Issues and Pull Requests !
Yolog is released under MIT 2016 License.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。