subscribe tag tags calendar spinner search cloud star-empty star-full twitter github givey

Due to using to Github flow quite heavily, I end up with a lot of rogue branches locally that I'm always forgetting to cleanup. The snippet below is a quick one-liner I have aliased to cleanup-branches which saves me some time and keeps me out of branch spaghetti when autocompleting.

git branch -vv | grep gone | awk '{print $1}' | xargs git branch -D
Posted 28 Aug 2015 by Marc Qualie