GitHub: searching through older versions of files

Posted by normski on Stack Overflow See other posts from Stack Overflow or by normski
Published on 2011-01-16T13:09:45Z Indexed on 2011/01/16 13:53 UTC
Read the original article Hit count: 162

Filed under:
|

I know that using GitHub I can search through all the current versions of my files in a repo. However, I would also like to search through the older versions of my repo files. For example, say, I used to have a function called get_info() in my code, but deleted it several versions ago, is it possible to search for get_info and find the code. If it is not possible using GitHub, is it possible from the git command line?

EDIT

Thanks to @Mark Longair for showing how this can be done from the git command line. If it's not possible in GitHub it would be a great feature to have.

© Stack Overflow or respective owner

Related posts about git

Related posts about github