Skip to content

Instantly share code, notes, and snippets.

Avatar

Sander Verkuil SanderVerkuil

  • LegionellaDossier
  • Utrecht
View GitHub Profile
@SanderVerkuil
SanderVerkuil / delete_gone.sh
Created Oct 26, 2016
Deletes all the github branches that had a repository, and do not have a repository any more.
View delete_gone.sh
git branch -avv | grep ": gone" | awk '{print $1}' | xargs git branch -d