Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

clone all github repos

curl --request GET 
--url "https://api.github.com/users/$GHUSER/repos?per_page=1000" 
--header "Authorization: Bearer YOUR-TOKEN" | grep -o 'git@[^"]*' | xargs -L1 git clone
Comment

how to clone all git repositories

GHUSER=CHANGEME; curl "https://api.github.com/users/$GHUSER/repos?per_page=1000" | grep -o 'git@[^"]*' | xargs -L1 git clone
Comment

how to clone all repos at once from github

CNTX={users|orgs}; NAME={Sinoxolo-PAL}; PAGE=1
curl "https://api.github.com/$CNTX/$NAME/repos?page=$PAGE&per_page=100" |
  grep -e 'clone_url*' |
  cut -d " -f 4 |
  xargs -L1 git clone
Comment

PREVIOUS NEXT
Code Example
Shell :: where to find files in WSL unbuntu home directory on windows 
Shell :: scp folder copy 
Shell :: pull from upstream git 
Shell :: adding to git 
Shell :: install vue native globally 
Shell :: git recover deleted file 
Shell :: store environment variables firebase 
Shell :: sudo gem install cocoapods-deintegrate cocoapods-clean 
Shell :: materila ui 
Shell :: github setup local 
Shell :: install crontab in linux 
Shell :: display settings ubuntu 20.04 in right side 
Shell :: create requirements file from project add them to poetry dependency 
Shell :: docker file entrypoint script shell 
Shell :: error: insufficient permission for adding an object to repository database .git/objects fatal: failed to write object fatal: unpack-objects failed 
Shell :: script for restart redis service automatically 
Shell :: how to install and connect to ftp on ubuntu 18 
Shell :: install mongodb ubuntu 
Shell :: docker run 
Shell :: ubuntu create user 
Shell :: install fm migrate 
Shell :: shell script to enter a number and check the number is perfect number or not 
Shell :: conda install tabulate 
Shell :: libsound2-dev missing 
Shell :: sqliteman linux 
Shell :: unable to locate package php-xmlrpc 
Shell :: grep substring in shell 
Shell :: ubuntu teeworlds 
Shell :: vagrant init ubuntu/trusty64 
Shell :: alter package body compile 
ADD CONTENT
Topic
Content
Source link
Name
7+9 =