Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View dharness's full-sized avatar
🍝
Eating lunch

Dylan Harness dharness

🍝
Eating lunch
View GitHub Profile
@dharness
dharness / delete_old_git_branches.sh
Created December 14, 2023 16:54
Delete git branches more than 2 weeks old
git for-each-ref --sort=-committerdate refs/heads --format='%(committerdate:short) %(refname:short)' | awk '$1 < "'$(date -v-2w +%Y-%m-%d)'" {print $2}' | xargs git branch -D
@dharness
dharness / github.vs.gist.md
Last active February 23, 2016 06:19
Why Beamer is not as good as Gist

Why

Well, they are basically the same thing, right? Only this one is backed by github.