Skip to content

Instantly share code, notes, and snippets.

@ar0ch
Created May 12, 2020 16:49
Show Gist options
  • Save ar0ch/331e10d402219ea1fbbeb654d1fbfaa8 to your computer and use it in GitHub Desktop.
Save ar0ch/331e10d402219ea1fbbeb654d1fbfaa8 to your computer and use it in GitHub Desktop.
Migrate github.gatech.edu repos to public
#!/bin/bash
year=2020
for i in {1..3}; do
for j in {WebServer,ComparativeGenomics,FunctionalAnnotation,GenePrediction,GenomeAssembly};do
gh repo create -t compgenomics${year} Team${i}-${j}
git clone git@github.gatech.edu:compgenomics${year}/Team${i}-${j}.git
cd Team${i}-$j;
git remote add github git@github.com:compgenomics${year}/Team${i}-$j;
git push -u github master;
cd ../
done
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment