GitHub的高级搜索功能
1. 首先,提供Github高级搜索帮助页面https://help.github.com/categories/search/
![](http://upload-images.jianshu.io/upload_images/1718567-03ada04735f6bcf8.png?imageMogr2/auto-orient/strip|imageView2/2/w/1086/format/webp)
2. 搜索语法https://help.github.com/articles/search-syntax/
![](http://upload-images.jianshu.io/upload_images/1718567-07a1fd4d59ea53f5.png?imageMogr2/auto-orient/strip|imageView2/2/w/1200/format/webp)
比方说,你要搜索心数大于一定数目的开源代码,你可以像下面这样子来操作.
![](http://upload-images.jianshu.io/upload_images/1718567-5625aa108fd5c976.png?imageMogr2/auto-orient/strip|imageView2/2/w/1004/format/webp)
搜索某个时间段之后创建出来的代码.
![](http://upload-images.jianshu.io/upload_images/1718567-732c9cb982515150.png?imageMogr2/auto-orient/strip|imageView2/2/w/1200/format/webp)
获取星星数目介于某段区域
![](http://upload-images.jianshu.io/upload_images/1718567-d3330310b7064a83.png?imageMogr2/auto-orient/strip|imageView2/2/w/1184/format/webp)
设置语言限制的搜索:
![](http://upload-images.jianshu.io/upload_images/1718567-ffce055a4352597a.png?imageMogr2/auto-orient/strip|imageView2/2/w/1200/format/webp)
一套完整的搜索流程:
![](http://upload-images.jianshu.io/upload_images/1718567-9f8d98862b047436.png?imageMogr2/auto-orient/strip|imageView2/2/w/1200/format/webp)
Omit quotation marks and spaces in queries
If you prefer a more compact notation, you can omit the quotations and the spaces for any of these criteria. Quotations need to be included only if the query contains whitespace. For example:
cats created:2012-04-30..2012-07-04
3. 如果是在还是不会用-_-!!!,亲,你可以试试高级搜索页面:https://github.com/search/advanced
![](http://upload-images.jianshu.io/upload_images/1718567-ccad862b54c571d3.gif?imageMogr2/auto-orient/strip|imageView2/2/w/1036/format/webp)
你在填写的时候,上面自动出现了匹配的语法格式,是不是很简单^_^!
![](http://upload-images.jianshu.io/upload_images/1718567-815f3b5ae06ac899.png?imageMogr2/auto-orient/strip|imageView2/2/w/1200/format/webp)