Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Delete Useless Github Remote Branches
// 1. Go to Github Branches Page
// 2. Open Chrome Dev Tool Console (F12)
// 3. Paste this command into the console and run.
// 4. Paste your clipboard in bash command line and run.
copy('git push origin --delete ' + $$('a.branch-name').map(x => x.textContent).join(' '))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.