Skip to content

Instantly share code, notes, and snippets.

View bweir's full-sized avatar
💻
Making things.

Brett Weir bweir

💻
Making things.
View GitHub Profile
@bweir
bweir / gitchangelog.sh
Last active August 3, 2016 06:01
Fancy Markdown Git Changelog in 25 lines or less
#!/bin/bash
OUT="changelog.md"
echo "$(basename $(git rev-parse --show-toplevel)) Changelog" > $OUT
echo "----------------------" >> $OUT
echo >> $OUT
git log --format=format:" - %d %s" \
| sed -e '/Merge /d' \
-e '/Update/d' -e '/update/d' \