ignore service directories
[james-home.git] / bin / repomirror
blobc5b85ce15a4405b2d8e58cdb67fe89d03e0d8483
1 #!/bin/sh
3 for d in $(find ~/mirrorgit -type d -name '*.git')
4 do
5 echo "Processing $d"
6 cd $d
7 git fetch
8 git remote | grep github && git push --mirror github
9 git remote | grep gitorious && git push --mirror gitorious
10 git remote | grep bitbucket && git push --mirror bitbucket
11 done