- Clone repo with submodules
git clone --recurse-submodules git@github.com:${USERNAME}/${REPO}.git
- Navigate into repo
cd ${repo}
#!/bin/bash | |
set -e | |
username="" | |
new_email="" | |
repos=( | |
# Add the list of repos here | |
) | |
old_emails=( |
git clone --recurse-submodules git@github.com:${USERNAME}/${REPO}.git
cd ${repo}
#!/usr/bin/env sh | |
# build | |
npm run build | |
# navigate into the build output directory | |
cd dist | |
# Initialize a git repository | |
git init |
git checkout --orphan TEMP_BRANCH
git add .