Count number of lines of code over time in sourcegraph?

548 Views Asked by At

I want to build nice insights graph depicting how the lines count in a file changed over time.

1

There are 1 best solutions below

5
On

This can be accomplished using the following query:

file:^path/to/file.ext$ \n \n patterntype:regexp

enter image description here

Shoutout to the Code Insights team for their help on this.