Skip to content

Instantly share code, notes, and snippets.

@sarogers
Created September 11, 2015 16:55
Show Gist options
  • Save sarogers/eb6c134514e8507462be to your computer and use it in GitHub Desktop.
Save sarogers/eb6c134514e8507462be to your computer and use it in GitHub Desktop.
#!/bin/bash
repoName=$1
git clone git@github.com:learn-co-curriculum/$repoName.git &&
cd $repoName &&
git remote add 000 git@github.com:learn-co-students/$repoName-000.git &&
git remote add 001 git@github.com:learn-co-students/$repoName-001.git &&
git pull 000 master &&
git push 000 master &&
git push 001 master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment