Skip to content

Commit

Permalink
[feature] script to push all repos to GitHub
Browse files Browse the repository at this point in the history
  • Loading branch information
adamretter committed Jul 27, 2013
1 parent 809511f commit 5642d42
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions push-all.sh
@@ -0,0 +1,14 @@
#!/bin/env bash

for dir in `ls -d */`
do
repo="${dir%/}"
echo "Processing repo ${repo}..."
cd "$repo"
git repack -a -d -f
origin="git@github.com:eXist-db/${repo}.git"
git remote add origin $origin
git push --all
git push --tags
cd ..
done

0 comments on commit 5642d42

Please sign in to comment.