Search for a keyword within a GitHub wiki [closed]

痞子三分冷 提交于 2019-12-21 03:28:09

问题


I would like to search for any mentions of a specific keyword on a GitHub wiki.

Is there any way to do this?


回答1:


I don't know of a native GitHub search which would support that.

I usually use a Google search, like in this example where I search for VREF in the Gitolite documentation pages: https://www.google.com/search?q=vref+site%3Agitolite.com%2Fgitolite%2F

I use the "site:" search selector to limit the search to a particular subdomain (like the wiki) of a web site:

vref site:user.github.io/aRepo/

But that won't work for wiki.

I find it easier to do a local search by cloning said wiki:

git clone https://github.com/user/yourRepo.wiki

(Take the name of your repo, and add a ".wiki" to access the git repo associated with said wiki).




回答2:


You can install the GitHub Wiki Search user script in your browser.



来源:https://stackoverflow.com/questions/12535602/search-for-a-keyword-within-a-github-wiki

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!