Duplicate GitHub Wiki
- GitHub API v4 does not include Wikis.
- GitLab API v4 does include Wikis
To duplicate a GitHub repo AND the GitHub Wiki benefits from scripting.
An example solution is in GitEDU. This requires manually clicking to enable the new wiki via a web browser for each repo wiki.
GitHub Wiki Git accessibility
In general, GitHub Wiki is just another Git repo.
The URL for the GitHub Wiki is obtained by appending .wiki.git
to the associated GitHub repo URL.
Example:
- Main repo: github.invalid/username/reponame
- Wiki repo: github.invalid/username/reponame.wiki.git
Related: Moving GitHub Wiki