Is it possible to fetch the project's Wiki from the GitHub as a tarball?

StackOverflow https://stackoverflow.com/questions/17906445

  •  04-06-2022
  •  | 
  •  

Вопрос

I know that wiki is just another .git repo and that I can clone it, but we are looking for a way to fetch it without having git installed on our server. Is it accessible as a downloadable tarball via some url?

Это было полезно?

Решение 2

It is possible to fetch if you clone the wiki into the main repository, say in docs/ or wiki, using a subtree merge as explained here.

Другие советы

Not that I know of.

I tried a:

wget --no-check-certificate https://github.com/User/project.wiki/tarball/master
wget --no-check-certificate https://github.com/User/project.wiki.git/tarball/master

Each time, I get a 404.

The Get Archive API doesn't seem to apply to a wiki repo.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top