github高效搜索方法

在搜索框内输入以下内容:

in:name

代表名字内有搜索内容,如:in:name tensorflow,搜索出的结果为名字中带有tensorflow的项目

in:description

代表描述内有搜索内容,如:in:description tensorflow,搜索出的结果为描述中带有tensorflow的项目

in:readme

代表readme内有搜索内容,如:in:readme tensorflow,搜索出的结果为readme中带有tensorflow的项目

stars:>num

代表star数大于num的项目,如:stars:>1000,搜索出的项目为星数大于1000的项目

forks:>num

代表forks大于num的项目,如:forks:>10,搜索出的项目为forks大于10的项目

language:name

代表语言为name的项目,如:language:python,搜索出的项目为python语言的项目

pushed:>date

代表最后更新在date之后的项目(date格式为yyyy-mm-dd),如:pushed:>2019-02-01,搜索到的项目最后更新时间皆在2019-02-01之后

 

以上语句皆可同时使用(用空格分隔),如要搜索一个爬虫项目:

in:description 爬虫 stars:>1000 language:python pushed:>2019-11-01

意思为搜索在描述中含有“爬虫”字样的,星数大于1000的,python语言的,最后更新在2019-11-01后的项目

以此类推

点赞

发表评论