gg-log

View your git commits across multiple directories in a beautiful console format.

Usage no npm install needed!

<script type="module">
  import ggLog from 'https://cdn.skypack.dev/gg-log';
</script>

README

gg-log

Global git log shows you all of your git commits across multiple directories over a given interval.

$ gg-log <time> <directory>

Here, <time> abides by any time format that can be supplied to traditional git log arguments. Here are some examples:

$ gg-log 1.day dir1
$ gg-log 7.am dir2
$ gg-log 6.hours dir3
$ gg-log 1.week dir4

If no arguments are supplied, <time> defaults to 1.day and <directory> defaults to ~.

Video Example

asciicast

Installation

$ npm install -g gg-log

Alternatively, one can clone this repository and invoke ./gg-log.sh <time> <directory> directly through the shell.

Requirements

  • Unix system (i.e., Linux/Mac)
  • Git