Skip to content

Instantly share code, notes, and snippets.

@toreriklinnerud
Created April 16, 2012 17:54
Show Gist options
  • Save toreriklinnerud/2400336 to your computer and use it in GitHub Desktop.
Save toreriklinnerud/2400336 to your computer and use it in GitHub Desktop.
git log with nice human readable columns
git log --pretty="%ad|%an|%s" --date=short |
while IFS='|' read date author message
do
printf '%s %-20s %s\n' "$date" "$author" "$message"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment