Skip to content

Instantly share code, notes, and snippets.

View ewolfe's full-sized avatar

ewolfe ewolfe

View GitHub Profile
@ewolfe
ewolfe / README.md
Created January 3, 2020 04:00
Mass delete branches on GitHub

Run this file first. It will create a list of branches that we will delete later (in delete-branches.js)

// app.js
const Octokit = require("@octokit/rest");
const fs = require("fs");

const octokit = new Octokit({
  auth: "token xxx"
});