Skip to content

Instantly share code, notes, and snippets.

@Schoaf
Schoaf / join.sh
Last active April 23, 2021 14:58 — forked from detunized/join.sh
Join repos into subfolders with flat history
#!/bin/bash
set -euo pipefail
REPO_DIR="/c/_WORK/eclipse-workspace"
repos="activation-code-service advisor-service contract-revenue-service email-service email-template-service file-service login-service soap-client soap-service translation-service vehicle-registration-service weather-alert-service"
# pull all repos
(
for repo in $repos; do
echo $repo