Skip to content

Instantly share code, notes, and snippets.

@melon
Created October 31, 2014 10:19
Show Gist options
  • Save melon/9c2fd88c6705daeecdab to your computer and use it in GitHub Desktop.
Save melon/9c2fd88c6705daeecdab to your computer and use it in GitHub Desktop.
clone someone's all public github repositories in one command
curl -s https://api.github.com/users/{username}/repos | grep clone_url | cut -d\" -f4|awk '{system("git clone "$1)}'
@haitao127
Copy link

请问这条命令是否有30个仓库的限制?可否修改参数以克隆超过30个仓库?谢谢。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment