Last active
July 22, 2019 19:27
-
-
Save jdecaron/4908c3b8049b3eb02d0295f46b5eb193 to your computer and use it in GitHub Desktop.
Clone all projects from a Gitlab group using a NodeJS interpreter
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const repos = require('./gitlab.json'); | |
const { execSync } = require('child_process'); | |
repos.reduce((previous, repo) => { | |
execSync('git clone ' + repo.ssh_url_to_repo); | |
}, undefined) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment