Skip to content

Instantly share code, notes, and snippets.

@Marzogh
Created November 29, 2025 05:59
Show Gist options
  • Select an option

  • Save Marzogh/0882d9ea656fdb2946caab5e9f2af8bd to your computer and use it in GitHub Desktop.

Select an option

Save Marzogh/0882d9ea656fdb2946caab5e9f2af8bd to your computer and use it in GitHub Desktop.
How to fork a wiki from github
Fork a repo. The wiki is not forked automatically. So your fork will have empty wiki.
Create a wiki in the forked repo. Just create an empty Home page or whatever.
Clone the git repo of original wiki: git clone https://github.com/org-a/project-x.wiki.git
Assuming your forked repo now sits in https://github.com/org-b/project-x, add the new remote to the wiki repo: git remote add fork https://github.com/org-b/project-x.wiki.git
Do the force push to overwrite your wiki with the original git push -f fork master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment