Giter VIP home page Giter VIP logo

yolog's Introduction

YoLog !

https://badge.fury.io/py/yolog.png

Beautify your git logs !

Here is how default git logs look like:

https://raw.githubusercontent.com/karandesai-96/yolog/master/docs/ordinary.png

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:

https://raw.githubusercontent.com/karandesai-96/yolog/master/docs/yolog-powered.png

Installation

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

Usage

  • To view yolog powered git log, simply execute yolog in terminal.
  • For brief instructions, execute yolog -h or yolog --help in 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:

Command Example Description
yolog -n Display recent n commits.
yolog --skip=n Skip recent n commits and display further.
yolog --author=karan Filter commits according to author. Part of name / whole will be accepted.
yolog --before=dd-mmm-yyyy Display commits before this date.
yolog --until=dd/mmm/yyyy
yolog --after=dd/mmm/yyyy Display commits after this date.
yolog --since=dd-mmm-yyyy
yolog --grep="foo\ bar" Display commits with "foo bar" in their description.
  • Any of these can be combined together and used.
  • Regular expressions are also accepted in grep and author.
  • Use escape character if using whitespace: yolog --grep="fixes\ bug"

Features

  • 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.

Contributing

Feel free to file bugs, ask questions and suggest enhancements through Issues and Pull Requests !

License

Yolog is released under MIT 2016 License.

yolog's People

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.