zoukankan      html  css  js  c++  java
  • GitHub分支项目不支持搜索问题解决:Sorry, forked repositories are not currently searchable.

    错误如下:

    在GitHub上的项目,如果是分支项目的星星数没有超过父项目,就不会去索引从而不会进行代码搜索。

    解决方法:

    1、要在搜索结果中包含分支,需要添加fork:truefork:only查询。有关详细信息,请参阅“ 在分支上搜索 ”。但是这种方式会把所有这个父项目分支出来的项目全部检索出来,且无法精确到哪个分支进行代码检索。所以这种方式无效。

    2、把星星数超过父项目,比如Jenkins的分支。但不太现实,如果父项目达到几KK那种的星星数几乎是无解。

    3、把项目clone到本地,使用本地工具进行搜索,完美解决。

    参考:

    https://help.github.com/articles/searching-repositories/

    https://help.github.com/articles/searching-in-forks/

  • 相关阅读:
    swift
    swift
    swift
    swift
    swift
    swift
    swift
    swift
    Swift
    Nginx 访问控制
  • 原文地址:https://www.cnblogs.com/EasonJim/p/7368107.html
Copyright © 2011-2022 走看看