Commit f07bf76fe4
Unsigned
Layout: unified · split
content/blog/2021-03-19-clone-github-repos.md +1 −1
| @@ -28,7 +28,7 @@ type an organization's name instead of a user's name. | |||
| 28 | CNTX=users; NAME=YOUR-USERNAME; PAGE=1 | 28 | CNTX=users; NAME=YOUR-USERNAME; PAGE=1 |
| 29 | curl "https://api.github.com/$CNTX/$NAME/repos?page=$PAGE&per_page=100" | | 29 | curl "https://api.github.com/$CNTX/$NAME/repos?page=$PAGE&per_page=100" | |
| 30 | grep -e 'git_url*' | | 30 | grep -e 'git_url*' | |
| 31 | cut -d " -f 4 | | 31 | cut -d \" -f 4 | |
| 32 | xargs -L1 git clone | 32 | xargs -L1 git clone |
| 33 | ``` | 33 | ``` |
| 34 | 34 | ||