E
E
Egor Telnov2019-07-11 18:26:05
GitHub
Egor Telnov, 2019-07-11 18:26:05

How to find a line of code in a thousand files on github?

Hello! There was such a problem: I was added to the project on github. There are about a thousand code documents in this project. I need to find one line among all these documents. Tell me if there is any way to do this without poking all these documents with your hands?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
Ronald McDonald, 2019-07-11
@telnov_magic

Correctly advised in the comments to clone the repository locally.
Further search:
This is if you are on Linux.

S
SagePtr, 2019-07-11
@SagePtr

There is a pretty good search in the github, it searches for the code. So far, I have not encountered that it does not find all occurrences in the repository files by the name of the function.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question