I've succeeded to config to pull/push from my github repo without username and password using ssh-key.
But I cannot find a way to pull/push wiki for that repo without username and password.
Could someone please help?
Thanks!
Wikis are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud and GitHub Enterprise Server.
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!)
Wikis are just Git repositories, you can make changes locally and push them to your repository. But you have to clone it separately.
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.
Also you can search the clone link on the wiki page on the bottom right side with heading:
Clone this wiki locally
Here you will find the https
clone link just change it to ssh
clone link it will get cloned to your local and you can update the repo from your local.
This should be the format for the ssh link:
git@<host>:<username>/<repo_name>.wiki.git
Once you have cloned the wiki, you can add new files, edit existing ones, and commit your changes. You and your collaborators can create branches when working on wikis, but only changes pushed to the master branch will be made live and available to your readers.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With