5 ms·
The fact that you can’t search for file names is the funniest part to me.
by erikpukinskis 7y ago
The fact that you can’t search for file names is the funniest part to me.
- nickthemagicman 7y agoYou can but only in the repo itself not on a site wide scale.
- cole-h 7y agoReally? I searched for `filename:home.nix` (which brought me to https://github.com/search?utf8=%E2%9C%93&q=filename%3Ahome.nix https://github.com/search?utf8=%E2%9C%93&q=filename%3Ahome.n...). That seems site-wide to me, unless I'm misunderstanding you.
- nickthemagicman 7y agoThat's awesome. I didn't know about the keyword filename: I've been using the button to the left of "Clone or Download" this whole time. Thanks for the info!
- giancarlostoro 7y agoThese kind of keywords really should be next to the search box with a question mark next to them or something. TIL some of them are on this page that you only see if you search for an empty string: https://github.com/search?q= https://github.com/search?q= Click on 'prefixes'. This kind of thing should be readily available from any search box that searches through GitHub.
- WhiteOwlLion 7y agoIf you fork a repo, you can't search on the forked repo. Confirmed grep.app behaves the same way as github search.