Created
April 4, 2016 22:19
-
-
Save navicore/9cae6cbceacf5f98271619be52106f04 to your computer and use it in GitHub Desktop.
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
| #!/usr/bin/env bash | |
| DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) | |
| ROOT="[email protected]:navicore" | |
| UPSTREAM_ROOT="[email protected]:tableco" | |
| REPOS=( | |
| authsvc | |
| chippendale | |
| collectionsvc | |
| contactsvc | |
| devicesvc | |
| devops | |
| ernest | |
| expertisesvc | |
| frank | |
| junebug | |
| mailsvc | |
| membersvc | |
| messagesvc | |
| notificationsvc | |
| piecesvc | |
| postalsvc | |
| presencesvc | |
| profilesvc | |
| projectsvc | |
| reviewsvc | |
| roomsvc | |
| tablelib | |
| tablesvc | |
| tfetable | |
| tfeturntable | |
| ui | |
| ) | |
| for repo in "${REPOS[@]}" | |
| do | |
| repo_loc=$ROOT/$repo | |
| upstream_loc=$UPSTREAM_ROOT/$repo | |
| echo "cloning $repo" | |
| cd $DIR && git clone $repo_loc && cd $DIR/$repo && git remote add upstream $upstream_loc && fetchupstream && git checkout staging | |
| done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment