Skip to content

Instantly share code, notes, and snippets.

@jbodah
Created June 1, 2015 14:26
Show Gist options
  • Select an option

  • Save jbodah/0e0a3a61d4efa8222a32 to your computer and use it in GitHub Desktop.

Select an option

Save jbodah/0e0a3a61d4efa8222a32 to your computer and use it in GitHub Desktop.
clean branches2
git fetch --all -p; git branch -vv | grep ": gone]" | awk '{ print $1 }' | xargs -n 1 git branch -d
@jbodah

jbodah commented Jun 4, 2015

Copy link
Copy Markdown
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment