Skip to main content

排序搜索结果

您可以使用“排序”菜单对GitHub搜索结果进行排序,也可以通过在查询中添加sort限定符来排序。

使用“排序”**** 下拉菜单按相关性、星标数、分支数和项最近更新时间对结果排序。

要按互动数、表情符号、评论数、创建日期、相关性、作者提交日期、提交者提交日期或项目的最近更新时间排序,可以在搜索查询中添加 sort 限定符。

按评论数排序

sort:comments 限定符按评论数排序。

限定符示例
sort:commentssort:comments-desc
[
org:github sort:comments](https://github.com/search?q=org%3Agithub+sort%3Acomments&type=Issues) 匹配由 GitHub 拥有的仓库中的议题,并按评论数量从高到低排序。
sort:comments-asc
[
org:github sort:comments-asc](https://github.com/search?q=org%3Agithub+sort%3Acomments-asc&type=Issues) 匹配由 GitHub 拥有的存储库中的议题,并按评论数量升序排序(从最少到最多)。

按创建日期排序

sort:created 限定符按创建项的日期排序。

限定符示例
sort:createdsort:created-desc
[
org:github sort:created](https://github.com/search?q=org%3Agithub+sort%3Acreated&type=Issues) 可匹配由 GitHub 拥有的仓库中的议题,并按最近创建日期排序。
sort:created-asc
[
org:github sort:created-asc](https://github.com/search?q=org%3Agithub+sort%3Acreated-asc&type=Issues) 匹配存储库中 GitHub由其拥有的问题,按升序创建日期排序(最旧到最新)。

按相关性排序

sort:relevance 限定符按搜索相关性排序。

限定符示例
sort:relevancesort:relevance-desc
[
org:github sort:relevance](https://github.com/search?q=org%3Agithub+sort%3Arelevance&type=Issues) 匹配由 GitHub 拥有的仓库中的议题,并按搜索相关性从高到低排序。

按交互排序

sort:interactions 限定符按最高反应和评论总数排序。

限定符示例
sort:interactionssort:interactions-desc
[
org:github sort:interactions](https://github.com/search?q=org%3Agithub+sort%3Ainteractions&type=Issues) 匹配由GitHub拥有的仓库中的议题,并按反应和评论总数从高到低排序。
sort:interactions-asc
[
org:github sort:interactions-asc](https://github.com/search?utf8=%E2%9C%93&q=org%3Agithub+sort%3Ainteractions-asc&type=Issues) 匹配由 GitHub 拥有的仓库中的议题,并按反应和评论总数从低到高排序。

按反应排序

sort:reactions 限定符按反应数量或类型排序。

限定符示例
sort:reactionssort:reactions-desc
[
org:github sort:reactions](https://github.com/search?q=org%3Agithub+sort%3Areactions&type=Issues) 匹配存储库 GitHub中由其拥有的问题,按最高的反应数排序。
sort:reactions-asc
[
org:github sort:reactions-asc](https://github.com/search?q=org%3Agithub+sort%3Areactions-asc&type=Issues) 匹配存储库中 GitHub由其拥有的问题,按升序反应数排序(最少到最多)。
sort:reactions-+1sort:reactions-+1-asc
[
org:github sort:reactions-+1-asc](https://github.com/search?q=org%3Agithub+sort%3Areactions-%2B1-asc&type=Issues) 匹配由 GitHub 拥有的仓库中的议题,并按点赞(👍)反应数从少到多排序。
sort:reactions-+1-desc
[
org:github sort:reactions-+1-desc](https://github.com/search?q=org%3Agithub+sort%3Areactions-%2B1-desc&type=Issues) 匹配由 GitHub 拥有的仓库中的议题,并按点赞(👍)反应数量降序排序(从多到少)。
sort:reactions--1sort:reactions--1-asc
[
org:github sort:reactions--1-asc](https://github.com/search?utf8=%E2%9C%93&q=org%3Agithub+sort%3Areactions--1-asc&type=Issues) 匹配存储库中 GitHub拥有的问题,按向上拇指(:-1:)反应(最少到最多)排序。
sort:reactions--1-desc
[
org:github sort:reactions--1-desc](https://github.com/search?utf8=%E2%9C%93&q=org%3Agithub+sort%3Areactions--1-desc&type=Issues) 匹配存储库中 GitHub拥有的问题,按降拇指向下排序(:-1:)反应(最多到最少)。
sort:reactions-smilesort:reactions-smile-asc
[
org:github sort:reactions-smile-asc](https://github.com/search?utf8=%E2%9C%93&q=org%3Agithub+sort%3Areactions-smile-asc&type=Issues) 匹配由 GitHub 拥有的仓库中的议题,并按笑脸(😄)反应数量升序排序(从少到多)。
sort:reactions-smile-desc
[
org:github sort:reactions-smile-desc](https://github.com/search?utf8=%E2%9C%93&q=org%3Agithub+sort%3Areactions-smile-desc&type=Issues) 匹配 GitHub 拥有的仓库中的议题,并按笑脸(😄)反应数从高到低排序(从最多到最少)。
sort:reactions-tadasort:reactions-tada-asc
[
org:github sort:reactions-tada-asc](https://github.com/search?utf8=%E2%9C%93&q=org%3Agithub+sort%3Areactions-tada-asc&type=Issues) 匹配由 GitHub 拥有的仓库中的议题,并按“欢呼”(🎉)回应数升序排序(从最少到最多)。
sort:reactions-tada-desc
[
org:github sort:reactions-tada-desc](https://github.com/search?utf8=%E2%9C%93&q=org%3Agithub+sort%3Areactions-tada-desc&type=Issues) 匹配由 GitHub 拥有的仓库中的议题,并按喝彩(🎉)反应数量从高到低排序(从最多到最少)。
sort:reactions-heartsort:reactions-heart-asc
[
org:github sort:reactions-heart-asc](https://github.com/search?utf8=%E2%9C%93&q=org%3Agithub+sort%3Areactions-heart-asc&type=Issues) 匹配由 GitHub 拥有的仓库中的议题,并按爱心(❤️)反应数升序排序(从最少到最多)。
sort:reactions-heart-desc
[
org:github sort:reactions-heart-desc](https://github.com/search?utf8=%E2%9C%93&q=org%3Agithub+sort%3Areactions-heart-desc&type=Issues) 匹配由 GitHub 拥有的仓库中的议题,并按心形(❤️)反应数降序排序(从多到少)。
sort:reactions-thinking_facesort:reactions-thinking_face-asc
[
org:github sort:reactions-thinking_face-asc](https://github.com/search?utf8=%E2%9C%93&q=org%3Agithub+sort%3Areactions-thinking_face-asc&type=Issues) 匹配由 GitHub 拥有的仓库中的议题,并按“thinking face”(:thinking_face:)回应数量升序排序(从少到多)。
sort:reactions-thinking_face-desc
[
org:github sort:reactions-thinking_face-desc](https://github.com/search?utf8=%E2%9C%93&q=org%3Agithub+sort%3Areactions-thinking_face-desc&type=Issues) 匹配由 GitHub 拥有的仓库中的议题,并按 thinking face(:thinking_face:)反应数量降序排序(从多到少)。
sort:reactions-rocketsort:reactions-rocket-asc
[
org:github sort:reactions-rocket-asc](https://github.com/search?utf8=%E2%9C%93&q=org%3Agithub+sort%3Areactions-rocket-asc&type=Issues) 匹配由 GitHub 拥有的仓库中的议题,并按火箭(🚀)反应数升序排序(从少到多)。
sort:reactions-rocket-desc
[
org:github sort:reactions-rocket-desc](https://github.com/search?utf8=%E2%9C%93&q=org%3Agithub+sort%3Areactions-rocket-desc&type=Issues) 匹配由 GitHub 拥有的仓库中的议题,并按火箭(🚀)反应数降序排序(从多到少)。
sort:reactions-eyessort:reactions-eyes-asc
[
org:github sort:reactions-eyes-asc](https://github.com/search?utf8=%E2%9C%93&q=org%3Agithub+sort%3Areactions-eyes-asc&type=Issues) 匹配由 GitHub 拥有的仓库中的议题,并按 eyes(👀)反应数升序排序(从少到多)。
sort:reactions-eyes-desc
[
org:github sort:reactions-eyes-desc](https://github.com/search?utf8=%E2%9C%93&q=org%3Agithub+sort%3Areactions-eyes-desc&type=Issues) 匹配由 GitHub 拥有的仓库中的议题,并按 eyes(👀)反应数从高到低排序(从最多到最少)。

按作者日期排序

sort:author-date 限定符按作者日期降序或升序排序。

限定符示例
sort:author-datesort:author-date-desc
[
feature org:github sort:author-date](https://github.com/search?utf8=%E2%9C%93&q=feature+org%3Agithub+sort%3Aauthor-date&type=Commits) 匹配包含存储库中“ GitHubfeature”一词的提交,按降序作者日期排序。
sort:author-date-asc
[
**
feature org:github sort:author-date-asc
**
](https://github.com/search?utf8=%E2%9C%93&q=feature+org%3Agithub+sort%3Aauthor-date-asc&type=Commits) 匹配由 GitHub 拥有的存储库中包含“feature”一词的提交,并按作者日期升序排序。

按提交者日期排序

sort:committer-date 限定符按提交者日期降序或升序排序。

限定符示例
sort:committer-datesort:committer-date-desc
[
feature org:github sort:commiter-date](https://github.com/search?utf8=%E2%9C%93&q=feature+org%3Agithub+sort%3Acommitter-date&type=Commits) 匹配包含存储库中“ GitHubfeature”一词的提交,按降序提交者日期排序。
sort:committer-date-asc
[
**
feature org:github sort:committer-date-asc
**
](https://github.com/search?utf8=%E2%9C%93&q=feature+org%3Agithub+sort%3Acommitter-date-asc&type=Commits) 匹配由 GitHub 拥有的仓库中包含“feature”一词的提交,并按提交者日期升序排序。

按更新日期排序

sort:updated 限定符按项最近更新日期排序。

限定符示例
sort:updatedsort:updated-desc
feature sort:updated 匹配包含单词“feature”的存储库,按最近更新日期排序。
sort:updated-asc
feature sort:updated-asc 匹配包含单词“feature”的存储库,按最远更新日期排序。

其他阅读材料