Merge branch 'master' of https://git.jamestechnotes.com/r/james/home/home
[james-home.git] / bin / repomirror
blobf3ea49b86a3885010921f44c1199457dbb38557c
1 #!/bin/sh
3 for d in $(find ~/.repomirror -type d -name '*.git')
4 do
5 echo "Processing $d"
6 cd $d
7 git fetch origin -p
8 git push bitbucket --mirror
9 git push github --mirror
10 git push gitlab --mirror
11 done