Created
May 12, 2020 16:49
-
-
Save ar0ch/331e10d402219ea1fbbeb654d1fbfaa8 to your computer and use it in GitHub Desktop.
Migrate github.gatech.edu repos to public
This file contains hidden or 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
#!/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 [email protected]:compgenomics${year}/Team${i}-${j}.git | |
cd Team${i}-$j; | |
git remote add github [email protected]: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