Created
November 29, 2025 05:59
-
-
Save Marzogh/0882d9ea656fdb2946caab5e9f2af8bd to your computer and use it in GitHub Desktop.
How to fork a wiki from github
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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