ghorg clone
Jump to navigation
Jump to search
ghorg clone all-groups --base-url=https://<your.instance.gitlab.com> --scm=gitlab --token=XXXXXX --preserve-dir
ghorg clone yourorg/yourproject \ --scm=gitlab \ --base-url=https://gitlab.com \ --token=glpat-XXXXXXXXXXX \ --path=/path/to/your/folder \ --protocol=ssh \ --prune \ --preserve-dir
crontab -e 0 9 * * * ghorg clone yourorg/yourproject --scm=gitlab --base-url=https://gitlab.com --token=XXXXXXXXXXX --path=/path/to/your/repos --protocol=ssh --prune --preserve-dir
New clones: 90, existing resources pulled: 0 (completed in 1m41s) Scanning for local clones that have been removed on remote... Finished! XXXXX (Size: 3.01 GB)
--protocol=ssh ghorg clone --help glab repo clone git clone mr
Activities[edit]
Related[edit]
- Permissions:
read_api, read_user, read_repository
crontab -e config.yml glab config get token --host gitlab.com GHORG_DEBUG git pull
See also[edit]
Advertising: