github.com上有百万级别的代码仓库,对于如此数量级的数据库,官方给出了搜索语法(baidu和google都有类似搜索语法)
基本搜索语法如下:
This search | Finds repositories with… |
---|---|
cat stars:>100 | Find cat repositories with greater than 100 stars. |
user:defunkt | Get all repositories from the user defunkt. |
tom location:"San Francisco, CA" | Find all tom users in "San Francisco, CA". |
join extension:coffee | Find all instances of join in code with coffee extension. |
NOT cat | Excludes all results containing cat |
基于代码仓库搜索
搜索仓库名:jquery in:name