Beautify your git logs !
Here is how default git logs look like:
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
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 build
- To view yolog powered git log, simply execute
- For brief instructions, execute
yolog --helpin terminal.
It also accepts arguments which are used to filter output. These arguments are same as those accepted by standard git log. Here are the most common used ones:
| || Display recent |
| || Skip recent |
| ||Filter commits according to author. Part of name / whole will be accepted.|
| ||Display commits before this date.|
| ||Display commits after this date.|
| ||Display commits with "foo bar" in their description.|
- Any of these can be combined together and used.
- Regular expressions are also accepted in
- Use escape character if using whitespace:
yolog --grep="fixes/ bug"
- Tabulated commit history with shortened hashes, author, date and commit message (refs included if present).
- Colored fields for better readability, with visualization of commit graph.
- Vertical as well as horizontol pagination for longer commit history / smaller terminal window.
Feel free to file bugs, ask questions and suggest enhancements through Issues and Pull Requests !
Yolog is released under MIT 2016 License.