Skip to content

Instantly share code, notes, and snippets.

@ricardovsilva
Created August 21, 2018 20:42
Show Gist options
  • Save ricardovsilva/13c2fea059c9361f598b9385f0c8f629 to your computer and use it in GitHub Desktop.
Save ricardovsilva/13c2fea059c9361f598b9385f0c8f629 to your computer and use it in GitHub Desktop.
git fetch -p && git branch -vv | awk '/: gone]/{print $1}' | xargs git branch -D
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment