Interesting Git log Shortcuts

Interesting Git log Shortcuts

Output git online but with time & date, since a cetain date

For example, to show all commits with date and author since yesterday:

git log --pretty=format:"%h%x09%an%x09%ad%x09%s" --since=yesterday

..Or all commits with author and date since a specific date:

git log --pretty=format:"%h%x09%an%x09%ad%x09%s" --since=2017-05-02

Heads up on the American date format used for the "--since=" flag... you can also use "--after=" if that reads better for you.

Inspiration for the above via: Jesper Rønn-Jensen's answer to The shortest possible output from git log containing author and date.

Now get blown away by filipekiss's post which includes graphing, colours and "time since last commit" in A better git log (archive).

Git log showing time since each commit, with colour

Collect recurring payments with Subscribie - Try Now