Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

how to check the size of a github repo

# Something like this should do...
# curl -s https://api.github.com/repos/author_name/the_repos_name_here  
#                        || 								                                   
#                        /
                                                          
curl -s https://api.github.com/repos/am15h/tflite_flutter_helper | jq '.size' | numfmt --to=iec --from-unit=1024

# For private repository

curl -s -H "Authorization: token GITHUB_TOKEN" https://api.github.com/repos/torvalds/linux | jq '.size' | numfmt --to=iec --from-unit=1024
Comment

PREVIOUS NEXT
Code Example
Shell :: add alias fish shell 
Shell :: linux zip file 
Shell :: Command to create a new Vue app 
Shell :: chmod 
Shell :: github actions install postgres 
Shell :: serverless deploy missing credentials in config 
Shell :: git push takes forever 
Shell :: change resolution of a video 
Shell :: pg_dump export single table 
Shell :: cookiecutter 
Shell :: git folder 
Shell :: raspberry pi wifi headless 
Shell :: git pull <remote 
Shell :: delete a deployment in kubernetes 
Shell :: how to resolve conflict in git 
Shell :: npm user install packages 
Shell :: nuget reinstall packages 
Shell :: grep second line 
Shell :: reset git file 
Shell :: how to setup path using git bash in windows 
Shell :: github show current branch 
Shell :: get linux directory size 
Shell :: trash linux command 
Shell :: angular 8 install agm 
Shell :: deploy github repo to heroku 
Shell :: conda install spyder 4.2.5 
Shell :: remote: Permission to asfand005/test.git denied to asfand87. 
Shell :: rsync full disk backup 
Shell :: add kdiff3 to git 
Shell :: mjml watch command 
ADD CONTENT
Topic
Content
Source link
Name
5+8 =