Can you get the number of lines of code from a GitHub repository?

前端 未结 15 1211
庸人自扰
庸人自扰 2020-12-04 04:26

In a GitHub repository you can see “language statistics”, which displays the percentage of the project that’s written in a language. It doesn’t, however, display ho

15条回答
  •  半阙折子戏
    2020-12-04 05:02

    You can run something like

    git ls-files | xargs wc -l
    

    which will give you the total count →

    Or use this tool → http://line-count.herokuapp.com/

提交回复
热议问题