57.a2fad780.js 3.4 KB

1
  1. (window.webpackJsonp=window.webpackJsonp||[]).push([[57],{387:function(s,a,e){"use strict";e.r(a);var t=e(3),n=Object(t.a)({},(function(){var s=this,a=s._self._c;return a("ContentSlotsDistributor",{attrs:{"slot-key":s.$parent.slotKey}},[a("h1",{attrs:{id:"github高级搜索技巧"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#github高级搜索技巧"}},[s._v("#")]),s._v(" GitHub高级搜索技巧")]),s._v(" "),a("p",[a("code",[s._v("in:name <关键字>")]),s._v("\n仓库名称带关键字查询")]),s._v(" "),a("p",[a("code",[s._v("in:description <关键字>")]),s._v("\n仓库描述带关键字查询")]),s._v(" "),a("p",[a("code",[s._v("in:readme <关键字>")]),s._v("\nREADME文件带关键字查询")]),s._v(" "),a("p",[a("code",[s._v("stars(fork): >(=) <数字> <关键字>")]),s._v("\nstar或fork数大于(或等于)指定数字的带关键字查询")]),s._v(" "),a("p",[a("code",[s._v("stars(fork): 10..20 <关键词>")]),s._v("\nstar或fork数在10到20之间的带关键字查询")]),s._v(" "),a("p",[a("code",[s._v("size:>=5000 <关键词>")]),s._v("\n限定仓库大于等于5000K的带关键字查询")]),s._v(" "),a("p",[a("code",[s._v("pushed(created):>2019-11-15 <关键字>")]),s._v("\n更新 或 创建 日期在2019年11月16日之后的带关键字查询")]),s._v(" "),a("p",[a("code",[s._v("license:apache-2.0 <关键字>")]),s._v("\nLICENSE为apache-2.0的带关键字查询")]),s._v(" "),a("p",[a("code",[s._v("language:java <关键词>")]),s._v("\n仓库语言为Java的带关键字查询")]),s._v(" "),a("p",[a("code",[s._v("user:<用户名>")]),s._v("\n查询某个用户的项目")]),s._v(" "),a("p",[a("code",[s._v("org:<组织名>")]),s._v("\n查询某个组织的项目")]),s._v(" "),a("p",[s._v("*"),a("strong",[s._v("以上查询条件可组合使用,空格隔开")])]),s._v(" "),a("div",{staticClass:"language-sh line-numbers-mode"},[a("pre",{pre:!0,attrs:{class:"language-sh"}},[a("code",[a("span",{pre:!0,attrs:{class:"token comment"}},[s._v("# 示例1:搜索仓库名包含javascript,并且stars数大于1000的项目")]),s._v("\nin:name javascript stars:"),a("span",{pre:!0,attrs:{class:"token operator"}},[s._v(">")]),a("span",{pre:!0,attrs:{class:"token number"}},[s._v("1000")]),s._v("\n\n"),a("span",{pre:!0,attrs:{class:"token comment"}},[s._v('# 示例2:搜索描述中包含"小程序",并且fork大于100,并且最近更新时间在2019-11-15之后的,并且使用开发语言为vue的项目')]),s._v("\nin:description 小程序 fork:"),a("span",{pre:!0,attrs:{class:"token operator"}},[s._v(">")]),a("span",{pre:!0,attrs:{class:"token number"}},[s._v("100")]),s._v(" pushed:"),a("span",{pre:!0,attrs:{class:"token operator"}},[s._v(">")]),a("span",{pre:!0,attrs:{class:"token number"}},[s._v("2019")]),s._v("-11-15 language:vue\n")])]),s._v(" "),a("div",{staticClass:"line-numbers-wrapper"},[a("span",{staticClass:"line-number"},[s._v("1")]),a("br"),a("span",{staticClass:"line-number"},[s._v("2")]),a("br"),a("span",{staticClass:"line-number"},[s._v("3")]),a("br"),a("span",{staticClass:"line-number"},[s._v("4")]),a("br"),a("span",{staticClass:"line-number"},[s._v("5")]),a("br")])]),a("p",[s._v("*"),a("strong",[s._v("或使用高级搜索页搜索:")])]),s._v(" "),a("p",[a("a",{attrs:{href:"https://github.com/search/advanced",target:"_blank",rel:"noopener noreferrer"}},[s._v("https://github.com/search/advanced"),a("OutboundLink")],1)])])}),[],!1,null,null,null);a.default=n.exports}}]);