Automatically download a user's repository Github

Posted qianjiashi

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Automatically download a user's repository Github相关的知识,希望对你有一定的参考价值。

it‘s fine to use shell script to get job done

username=pat
wget -N -O "github_user.list" "https://api.github.com/users/${username}/repos?per_page=100"
grep -w "clone_url" github_user.list> list.txt
sed -i s/"clone_url":/git clone/g ./list.txt
###delete last comma ","
sed -i "s/.$//g" ./list.txt
bash list.txt

save this script and run it.

It is suitable for most individual users, except commercial companies.

以上是关于Automatically download a user's repository Github的主要内容,如果未能解决你的问题,请参考以下文章

iOS真机调试Automatically manage signing问题

Automatically generate a sitemap in Laravel

解决 hint to automatically insert change-id install the hook 问题

[问题] An error occurred while automatically activating bundle com.android.ide.eclipse.adt

json 来自http://stackoverflow.com/questions/9961502/is-there-a-way-to-automatically-build-the-package-

git gui :Updating the Git index failed. A rescan will be automatically started to res