Skip to content

Instantly share code, notes, and snippets.

View DeathGOD7's full-sized avatar
:octocat:
on a project "UNKNOWN"

DeathGOD7

:octocat:
on a project "UNKNOWN"
View GitHub Profile

How do I clone a GitHub wiki?

Any GitHub wiki can be cloned by appending wiki.git to the repo url, so the clone url for the repo https://myorg/myrepo/ is: git@github.com:myorg/myrepo.wiki.git (for ssh) or https://github.com/my/myrepo.wiki.git (for https).

You make edits, and commit and push your changes, like any normal repo. This wiki repo is distinct from any clone of the project repo (the repo without wiki.get appended).

How do I add images to a wiki page?

@DeathGOD7
DeathGOD7 / export-github-repo-labels.js
Created January 11, 2022 17:29 — forked from davorpa/export-github-repo-labels.js
Export-import Github repo labels
// 1. Go on you labels page:
// eg.: https://github.com/EbookFoundation/free-programming-books/labels
//
// 2. Paste this script in your console / save as browser bookmarklet, and then execute it
// 3. Copy the output / download files and now you can import it using https://github.com/popomore/github-labels !
//
// How to bookmark: https://gist.github.com/caseywatts/c0cec1f89ccdb8b469b1
(function(undefined) {