12/11/2023 0 Comments Github wiki tab missing![]() ![]() ![]() That way, your user would consult that file in order to get the wiki at the right version. Curate this topic Add this topic to your repo To associate your repository with. Add a description, image, and links to the wiki-tab topic page so that developers can more easily learn about it. ![]() reject the current commit, asking you to add and commit again (since a pre-commit cannot modify the index) More than 94 million people use GitHub to discover, fork, and contribute to over 330 million projects.put that SHA1 in a file within your local repo (as an url: ).check the SHA1 of the latest commit in your wiki.Now, if the submodule approach seems too cumbersome, you could more simply setup a pre-commit hook in your local repo, which would: Note that the content of that wiki wouldn't be visible unless those users were to make a: git submodule update -initīut if that want only the SHA1, in order to access the wiki at, git ls-tree is enough (they don't need to populate the submodule with any content). When your users get that repo, a simple git ls-tree master: can give them the SHA1 of that wiki. go back to the parent repo, add, commit and push: that will record the SHA1 of the wiki in your parent repo. This workflow will mirror the wiki/ folder in your GitHub repository to the user/ Git repo that houses the wiki documentation You can use any of the supported markup languages like MediaWiki, Markdown, or AsciiDoc.It actually could answer the question, since a submodule will record the exact SHA1 of the wiki ( registered as a submodule) cd /yourRepoĮach time you modify your project, you can: I also know it is possible to integrate the wiki repository as a submodule (though I can't say I understand how those work, as I don't really have commandline git experience), but that by itself does not answer my question ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |