GitHub搜索技巧总结(补充中)

一,一般搜索。

1

>n     cats stars:>1000 含关键词cats,并且star超过1000的仓库。
>=n     cats topics:匹配有5个以上topics的含关键词cats的仓库。
<n     cats size:<10000 匹配含关键词cats,小于10k的代码。
<=n     cats stars:<=50 
2
NOT     hello NOT world 匹配含hello不含world的仓库
3

cats stars:>10 -language:javascript   组合形式
4

fork:true or fork:only

5 amazing language:javascript  匹配含amazing关键词的语言为javascript 的仓库
6
in:file     octocat in:file 匹配在仓库描述octocat 的仓库(代码)
in:path     octocat in:path 匹配文件路径有octcat的代码
7
filename:FILENAME     filename:linguist matches files named "linguist."
filename:.vimrc commands matches .vimrc files with the word "commands." filename:test_helper path:test language:ruby matches Ruby files named test_helper within the test directory.
搜索仓库
8
in:name     jquery in:name 匹配仓库名有jquery的仓库。
14topic:TOPIC     topic:jekyll 匹配topic为jquery的仓库
搜索用户
9
type:user     mike in:name created:<2011-01-01 type:user matches personal accounts named "mike" that were created before 2011.
type:org     data in:email type:org matches organizations with the word "data" in their email.
10
in:login     kenya in:login 匹配使用名为kenya的用户
in:fullname     bolton in:fullname 匹配实名中含bolton的用户。
in:email     data in:email 匹配email中含data的用户。
11
location:LOCATION     repos:1 location:iceland 匹配在iceland的只有一个仓库的用户。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值