Skip to content

Instantly share code, notes, and snippets.

@sondnm sondnm/github-js-utils.js
Last active Mar 8, 2019

Embed
What would you like to do?
Utils using JS in Github
// Remove all branches in https://github.com/<username>/<repo>/branches
document.querySelectorAll("svg.octicon.octicon-trashcan").forEach(function(e) { e.parentNode.click() })
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.