Skip to content

Comments

Общие сведения по выгрузке репозиториев#9

Open
ipl-adm wants to merge 4 commits intoWeArchivingInternet:mainfrom
ipl-adm:main
Open

Общие сведения по выгрузке репозиториев#9
ipl-adm wants to merge 4 commits intoWeArchivingInternet:mainfrom
ipl-adm:main

Conversation

@ipl-adm
Copy link

@ipl-adm ipl-adm commented Mar 6, 2022

Общие сведения, как массово выгружать репозитории подручными средствами

ipl-adm added 3 commits March 6, 2022 20:07
Общие сведения, как массово выгружать репозитории подручными средствами
``` No newline at end of file
```

## Массовая ыгрузка репозиториев Github
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Выгрузка, поправь пожалуйста

Выгрузка репозиториев из организации, с рекурсивным парсом сабмодулей, глубиной до 8
```sh
GHORG=company; curl "https://api.github.com/orgs/$GHORG/repos?per_page=100" | grep -o 'git@[^"]*' | xargs -L1 git clone --recurse-submodules -j8
```
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

-j8 - не глубина.

-j <n>
--jobs <n>  
The number of submodules fetched at the same time. Defaults to the submodule.fetchJobs option.

Source: https://git-scm.com/docs/git-clone

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants