Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

For the "my repo, wrong branch" use case, you have some options:

  git show other-branch:path/to/file
or:

  git grep -e pattern other-branch


git-grep is indescribably awesome. To be fair though, I search github pretty frequently because it means I can search issues also. If issues were git repos themselves it would be a different ballgame.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: