英文:
The GitHub search can't search on repository's README
问题
我正在GitHub上搜索关键词:“HPV”和“virus”,使用nextflow语言。希望我的搜索结果包含存储库nf-VIF。因为在nf-VIF存储库的README文件中有这些关键词。
然而,它只返回与描述部分匹配的关键词的另一个结果。我还尝试了根据这个答案使用GitHub搜索API进行搜索,但仍然没有成功(https://api.github.com/search/repositories?q=HPV+virus)。
请问有人可以告诉我如何根据GitHub中的README搜索存储库吗?谢谢。
英文:
I'm searching on GitHub for the keywords: "HPV", and "virus" with nextflow language. And hoping my search result has the repo nf-VIF. Cause in nf-VIF repo's README file has these keywords.
However, it returns just another result with keywords mapped with the description part. I also tried searching by Github Search API according to this answer. But it still not worked (https://api.github.com/search/repositories?q=HPV+virus).
Could someone tell me how to search repo based on README in GitHub, please? Thanks.
答案1
得分: 1
搜索使用的阶段是"HPV and virus and nextflow in:readme",不带引号。请查看https://www.freecodecamp.org/news/github-search-tips/,这是我找到答案的地方。在Google上使用的搜索字符串是"search readme file github"。
英文:
the search phase to use is "HPV and virus and nextflow in:readme" without quotes. see https://www.freecodecamp.org/news/github-search-tips/ for where I found the answer. search string used on google to find website "search readme file github"
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论