News for hackers. Stuff that matters.
Re:Show HN: Search code in GitHub repos using regular expres... by glouwbug on Sunday February 23, 2020 @09:52AM (#22397060)
Amazin, why Microsoft hasn't built this for GitHub yet is beyond me.

Can it grep on individual repos?

Re:Show HN: Search code in GitHub repos using regular expres... by hcm on Sunday February 23, 2020 @08:46PM (#22400966)
I built https://grephub.com for that. It doesn’t maintain an index so it’s not super snappy, but it’s good enough / better than you’d expect in many cases!
Re:Show HN: Search code in GitHub repos using regular expres... by funklute on Sunday February 23, 2020 @12:05PM (#22397965)
Why would you want to use this tool to grep individual repos? If you know the repo you're interested in, you can just clone it and then grep it locally...?
Re:Show HN: Search code in GitHub repos using regular expres... by m3kw9 on Sunday February 23, 2020 @01:25PM (#22398529)
So you don’t have to clone it and grep it locally
Re:Show HN: Search code in GitHub repos using regular expres... by tehlike on Sunday February 23, 2020 @02:22PM (#22398896)
I like to grep a code pattern through out all repos. I use gstreamer, and sometimes i just don't know how to use it to do a specific thing. So i search substrings to find out usage patterns by other people.
Re:Show HN: Search code in GitHub repos using regular expres... by big_chungus on Sunday February 23, 2020 @01:50PM (#22398702)
Some things can take a while to clone. On the top end, repos like blink, webkit, and gecko can take half an hour or more.
Re:Show HN: Search code in GitHub repos using regular expres... by leni536 on Sunday February 23, 2020 @03:28PM (#22399322)
Even with --depth=1?