Skip to content

Instantly share code, notes, and snippets.

View BradleyA's full-sized avatar
💭
testing git-TEST-commit-automation & Linux-admin/github-repository-traffic/

Bradley Allen BradleyA

💭
testing git-TEST-commit-automation & Linux-admin/github-repository-traffic/
View GitHub Profile
@BradleyA
BradleyA / index.js
Created August 3, 2020 17:03 — forked from MoOx/index.js
Export/import github labels
// go on you labels pages
// eg https://github.com/cssnext/cssnext/labels
// paste this script in your console
// copy the output and now you can import it using https://github.com/popomore/github-labels !
var labels = [];
[].slice.call(document.querySelectorAll(".label-link"))
.forEach(function(element) {
labels.push({
name: element.textContent.trim(),