サーチ…


ユーザー名のすべてのリポジトリのクローン作成

以下のコマンドを実行し、ユーザ名をユーザ名に置き換えて、そのユーザのGitHubリポジトリをすべてカレントディレクトリにクローンします。

curl "https://api.github.com/users/username/repos?page=1&per_page=100" | grep -e 'git_url*' | cut -d \" -f 4 | xargs -L1 git clone

これは、最初の100のリポジトリのみをクローンします。



Modified text is an extract of the original Stack Overflow Documentation
ライセンスを受けた CC BY-SA 3.0
所属していない Stack Overflow