Skip to content

Instantly share code, notes, and snippets.

View KathyBarabash's full-sized avatar

Kathy Barabash KathyBarabash

View GitHub Profile
@KathyBarabash
KathyBarabash / set-pretty-git-log-alias.sh
Last active December 13, 2023 09:48 — forked from niun/set-pretty-git-log-alias.sh
git log graph --oneline with date and author and colored ref names as alias
## One line per log entry with merge graph
## (--decorate is implicit for newer git versions?):
#git log --graph --oneline --decorate
## |
## Add --branches --remotes --tags --merges to see entries for all of the
## corresponding refs, not only commits (--all for all refs).
## Format output with --pretty=tformat:'<format>'
## Interesting placeholders for oneline <format>: