一、列出全部倉庫git
curl -s https://api.github.com/users/{username}/repos | grep ssh_url | cut -d\" -f4github
二、列出全部倉庫並下載api
curl -s https://api.github.com/users/{username}/repos | grep clone_url | cut -d\" -f4|awk '{system("git clone "$1)}'ssh