Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I clone a GitHub wiki?

People also ask

Can you fork a GitHub wiki?

You can't fork it directly on GitHub, but you can get Git access to it by going into the Git access tab of the wiki and you should be able to fork it on your local machine and edit it as much as you want (and even get updates to it!)

Can you duplicate a GitHub repo?

Open . Create a bare clone of the repository. Replace the example username with the name of the person or organization who owns the repository, and replace the example repository name with the name of the repository you'd like to duplicate. Navigate to the repository you just cloned.


Append .wiki.git to the repository name.

That is, if your repository name was foobar:

git clone [email protected]:myusername/foobar.git would be the path to clone your repository

and

git clone [email protected]:myusername/foobar.wiki.git would be the path to clone its wiki.

Note: You must have at least one page to be able to clone the wiki repo. (via @tobiasz-cudnik)


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.


You can clone the git wiki using following command.

git clone https://github.com/<git-username>/<repo-name>.wiki.git