3 ms·
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
by staticshock 12y ago
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
- skyebook 12y agogit-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.