GitHub: How to do case sensitive search for the code in repository?

谁说胖子不能爱 提交于 2020-05-28 11:59:18

问题


I want to do a case sensitive search for a particular piece of code in a GitHub repository. Is it possible?

I checked https://help.github.com/articles/searching-code/ and didn't find such a syntax rule.


回答1:


Use grep or git grep in your local clone. The GitHub search has a lot of limitations. I think the worst of these is that it only shows the first two matches from any file, so I just avoid it whenever possible.



来源:https://stackoverflow.com/questions/31885572/github-how-to-do-case-sensitive-search-for-the-code-in-repository

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!