Skip to content

Instantly share code, notes, and snippets.

@jdecaron
Last active July 22, 2019 19:27
Show Gist options
  • Save jdecaron/4908c3b8049b3eb02d0295f46b5eb193 to your computer and use it in GitHub Desktop.
Save jdecaron/4908c3b8049b3eb02d0295f46b5eb193 to your computer and use it in GitHub Desktop.
Clone all projects from a Gitlab group using a NodeJS interpreter
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