Hacker News new | ask | show | jobs
by weinzierl 3780 days ago
> there is still no way to search commits

I guess you mean commit messages, because you can search the code on Github.

For the messages, if your repository is public you can use Google like this:

   > Search all branches of all crawled repos for "change license"
   >
   >       "change license" site:https://github.com/*/*/commits
   >
   > Search master branch of all crawled repos for "change license"
   >
   >    "change license" site:https://github.com/*/*/commits/master
   >
   > Search master branch of all crawled twitter repos for "change license"
   >
   >    "change license" site:https://github.com/twitter/*/commits/master
   >
   > Search all branches of twitter/some_project repo for "change license"
   >
   >    "change license" site:https://github.com/twitter/some_project/commits
Source: technosaurus [1], Stackoverflow [2].

[1] http://stackoverflow.com/users/1162141/technosaurus

[2] http://stackoverflow.com/a/29710705

1 comments

You cannot do this for private repos? Anyways besides that, just having to know these hacks means there is absolutely no sense in committing to using a GUI tool when all of this is adequately implemented in command-line. Why a company with estimated worth at billion dollars+ can't add something as simple as commit message search though -- I don't know.
No you can't do this for private repos and it's kind of a hack anyway.

Just slapping a GUI to the command line interface wouldn't scale but given that they already support code search I don't understand why the don't support commit message search either.