0

I want to get all code lines which contains specified words like orderInfo in git.xxx.com. And I read gitlab api document and it seemed I can get only the projects which contains specified word. This is my expected output:

xxx orderInfo[].....
yyy orderInfo.....
....
hhh orderInfo.....

Is there any simple way?

Michał Turczyn
  • 32,028
  • 14
  • 47
  • 69
nail fei
  • 2,179
  • 3
  • 16
  • 36
  • What did you try so far? Post your code as a [mcve]! What happened when you ran it? What did you expect to happen instead? What specifically are you having problems with? – Robert Jul 25 '18 at 03:55

1 Answers1

0

Try using the search scope "blobs". Note that this requires Elastic Search to be enabled. Otherwise, you can simply checkout with git and locally use grep.

Lutz Büch
  • 343
  • 4
  • 12