Skip to content

Instantly share code, notes, and snippets.

@ayr-ton
Created March 25, 2020 16:07
Show Gist options
  • Save ayr-ton/c2377a4e04f1c98bf363fd54f489362e to your computer and use it in GitHub Desktop.
Save ayr-ton/c2377a4e04f1c98bf363fd54f489362e to your computer and use it in GitHub Desktop.
git checkout master
git fetch origin -p
git reset --hard origin/master
git branch --merged | xargs git branch -d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment