How to integrate a GitHub wiki into the main project

You want to add the wiki as a submodule. The same Wiki Git repository connected as a remote, but within a subdirectory with its own .git directory.

git submodule add git://

In the root of your main repository to add the wiki repository as a submodule in the wiki/ directory.

Leave a Comment