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