Re: Count the line of codes
- From
Matthieu Moy <matthieu.moy@imag.fr>
- Date
- Feb 6, 2009, 12:50 UTC
- Message-ID
- <vpqy6wjg24s.fsf@bauges.imag.fr>
- In-Reply-To
- <gmgs1u$lsv$1@ger.gmane.org>
Johannes Gilger <heipei@hackvalue.de> writes:
Show 7 quoted lines
> On 2009-02-06, zyk <zhengyuk@hotmail.com> wrote: >> >> Does anyone know if there is any tools available for counting the line of >> codes in the project using GIT? > > wc -l *.c *.h for example would count the lines of all c-files and > their headers.
wc for the total number of lines in files, or http://www.dwheeler.com/sloccount/ to get the number of lines of code (excluding blank lines and such).
-- Matthieu