Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

count lines of code in github repo

git ls-files | xargs wc -l
Comment

how to count total lines of code of a github repo

To search total line count by file type:

git ls-files | grep '.py' | xargs wc -l
Comment

PREVIOUS NEXT
Code Example
Shell :: ubuntu glibc install 
Shell :: vim strip trailing whitespace from the end of every line 
Shell :: linux apache restart 
Shell :: bash return n characters after match 
Shell :: pandas pip install 
Shell :: get name of repository git 
Shell :: conda install pyspark 
Shell :: mac find large folders 
Shell :: zsh: corrupt history file /home/pi/.zsh_history 
Shell :: Write a shell scripting program to reverse an array 
Shell :: rick roll terminal command 
Shell :: linux decode base64 terminal 
Shell :: install laravel ui in laravel 8 
Shell :: mkv to mp4 linux 
Shell :: rxjs_1.lastValueFrom is not a function 
Shell :: reload bashrc 
Shell :: brew install npm 
Shell :: install youtube-dl ubuntu 20.04 
Shell :: centos see user list 
Shell :: node js download ubuntu 
Shell :: ammend last commit 
Shell :: test nginx config mac 
Shell :: E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? 
Shell :: microsoft edge ubuntu uninstall command 
Shell :: bypass login jupyter ubuntu 
Shell :: ubuntu speedtest 
Shell :: install google chrome on fedira 
Shell :: steam is not in the sudoers file. 
Shell :: openssl view certificate 
Shell :: corntab using nano 
ADD CONTENT
Topic
Content
Source link
Name
2+5 =