Skip to content

Latest commit

 

History

History
39 lines (27 loc) · 532 Bytes

brief.md

File metadata and controls

39 lines (27 loc) · 532 Bytes

git brief

Show brief git log with commit SHA and message first line only.

Sample output

0123456 chore: Open dev server to LAN
ef01234 feat: Add detail tabs
56789ab feat: Add 404 page

Original command

git log --oneline --no-decorate

Set global alias

git config --global alias.brief 'log --oneline --no-decorate'

Usage

# Show all commits
git brief

# Show last 10 commits
git brief -10

Remove global alias

git config --global --unset alias.brief