Skip to content

Instantly share code, notes, and snippets.

View fromSmolsoft's full-sized avatar
🎯
Focusing

SmolGeek fromSmolsoft

🎯
Focusing
  • Czechia
View GitHub Profile
@fromSmolsoft
fromSmolsoft / set-pretty-git-log-alias.sh
Created December 12, 2024 11:22 — 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>: