Github搜索技巧


1.搜索关键字

  • Vue in:name 表示在项目名称中搜索 Vue 关键字
  • Vue in:readme 表示在项目readme中搜索 Vue 关键字
  • Vue in:description 表示在 项目描述中搜索 Vue 关键字
  • Vue in:USERNAME 表示在USERNAME中搜索 Vue 关键字
  • Vue in:ORGNAME 表示在组织或机构名中搜索 Vue 关键字

    2.按照项目大小搜索

  • size:>=5000 Vue 搜索大小超过5M 的包含 Vue 关键字项目

    3.按照Stars量搜索

  • stars:>1000 搜索Stars量大于1000的项目
  • Vue stars:>1000 搜索Stars量大于1000的Vue项目
  • language:Vue stars:>10000搜索开发语言为Vue且stars数大于10000的所有项目

    4.按照语言搜索

  • language:Vue location:china 搜索国内的开发者,语言限定为Vue

    5.Github高级搜索

  • https://github.com/search/advanced

    6.每天/每周/每月热门

  • https://github.com/trending

    7.git如何统计代码行数

  • git中有个中自带的查询提交行数的命令
    $ git log --since=2018-01-01 --until=2018-12-31 --author="like" --pretty=tformat: --numstat | gawk '{ add += $1 ; subs += $2 ; loc += $1 - $2 } END { printf "added lines: %s removed lines : %s total lines: %s\n",add,subs,loc }' -
    # 设置对应时间段,--author后面改成自己的名字或空

文章作者: Damao
版权声明: 本博客所有文章除特別声明外,均采用 CC BY 4.0 许可协议。转载请注明来源 Damao !
  目录