Skip to content

Instantly share code, notes, and snippets.

@anacampesan
Created July 31, 2019 19:45
Show Gist options
  • Save anacampesan/560f115a4cd10d72f365baea8be12957 to your computer and use it in GitHub Desktop.
Save anacampesan/560f115a4cd10d72f365baea8be12957 to your computer and use it in GitHub Desktop.
Delete all branches but master
git branch -D $(git branch | grep -v master)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment