Skip to content

Instantly share code, notes, and snippets.

@dumpofmemory
Forked from fbn4sc/command.txt
Created November 12, 2019 12:28
Show Gist options
  • Save dumpofmemory/b6963fc72f52dda3cf3c3d2a41164ad9 to your computer and use it in GitHub Desktop.
Save dumpofmemory/b6963fc72f52dda3cf3c3d2a41164ad9 to your computer and use it in GitHub Desktop.
Delete all branches except master and develop.
git branch | grep -v "master\|develop" | xargs git branch -D
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment