How do I clone my GitHub repository's wiki? I know it's saved as a separate Git repository, but I can't remember the path.
I've tried ...reponame/wiki.git
and ...reponame.git/wiki
, but neither are correct.
Append .wiki.git to the repository name.
That is, if your repository name was foobar:
git clone git@github.com:myusername/foobar.git
would be the path to clone your repository
and
git clone git@github.com:myusername/foobar.wiki.git
would be the path to clone its wiki.
The Wiki pages are managed as a repository. So click on your repository, then on the left side click on Wiki. Finally on the upper right corner click on Clone Repository. There you will clear instructions on how to clone it correctly.
The syntax for cloning Github wiki repository is:
git clone [RepositoryName].wiki.git
If it's a private repository, then you'll prompted to enter your username/password.
来源:https://stackoverflow.com/questions/15080848/how-do-i-clone-a-github-wiki