在GitHub wiki中搜索关键字 [英] Search for a keyword within a GitHub wiki

查看:430
本文介绍了在GitHub wiki中搜索关键字的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在GitHub wiki上搜索任何特定关键字的提及。



有没有办法做到这一点?

不知道原生GitHub搜索会支持它。



我通常使用Google搜索,就像本例中搜索 VREF 在Gitolite文档页面中: https://www.google.com/search?q=vref&site %3Agitolite.com%2Fgitolite%2F



我使用网站:搜索选择器将搜索范围限制在某个网站的某个特定子域名(如wiki)中:

  vref site:user.github.io/ aRepo / 

但这不适用于wiki。



我发现通过克隆所述wiki来进行本地搜索会更容易:

  git clone h ttps://github.com/user/yourRepo.wiki 

(以您的回购股票的名称,并添加一个 .wiki 来访问与所述wiki关联的git repo)。


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

Is there any way to do this?

解决方案

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).

这篇关于在GitHub wiki中搜索关键字的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆