可能你曾由于本身老是没法在github
中找到想要的资源而气馁,也由于在开发过程当中碰到一些问题而没法找到问题而烦躁。其实,若是你认真寻找的话,答案就在github
中。node
笔者在这里根据github
的官方帮助整理了一些经常使用的搜索技巧,想看原文的同窗能够点这里:Searching for information on GitHub。但愿你们能够在阅读以后能更快的找到本身想要的内容,提高工做和学习效率。react
原文涉及到的搜索内容比较多,笔者这里只是整理了一些我的在工做中经常使用的内容git
github
默认会在仓库名和仓库描述中进行搜索github
修饰符(qualifier) | 例子(Example) |
---|---|
in:name |
react in:name 仓库名中包含react |
in:description |
react in:name,descript 仓库名或仓库描述中包含react |
in:readme |
react in:readme 仓库readme 中包含react |
followers:n |
node followers:>=10000 仓库名或仓库描述中包含node 关键字且该仓库的followers 大于等于10000人 |
stars:n |
react stars:>=10000 仓库名或仓库描述中包含react 且该仓库被大于等于10000的人star |
pushed:YYYY-MM-DD |
react pushed:>=2019-01-01 仓库名或仓库描述中包含react 且该仓库的最后一次更新在2019年1月1日及以后 |
created:YYYY-MM-DD |
react created:>=2019-01-01 仓库名或仓库描述中包含react 且仓库的建立日期在2019-01-01及以后 |
综合搜索:学习
在仓库名或仓库描述或仓库readme中包含react,且追随者超过10000人、星数超过10000、最后更新日期晚于2019年4月20日、仓库建立日期晚于2018年12月12日
in:name,description,readme followers:>=10000 stars:>=10000 pushed:>=2019-04-20 react created:>=2018-12-12
复制代码
搜索结果: spa
issue
github
默认会在issue
的标题(title
)、正文(body
)以及评论(comments
)中进行搜索3d
修饰符(qualifier) | 例子(Example) |
---|---|
in:title |
ie in:name issue 标题中含有ie |
in:body |
ie in:name issue 正文中含有ie |
in:comments |
ie in:name issue 评论中含有ie |
综合搜索:因为默认的搜索条件过于普遍,咱们须要将搜索范围缩小到标题code
in:title ie 兼容
复制代码
搜索结果展现: orm
你们能够结合相应的语法进行实验,实际体验一下不一样条件下的搜索结果。cdn
原文在这里:github
搜索做弊表
以后笔者还会继续整理一些Google
搜索技巧以及WebStorm
使用技巧,若是内容对你有帮助的,但愿能star
给予鼓励,让社区中乐于分享的开发者创做出更好的做品。