repo.or.cz
/
james-home.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge branch 'master' of https://git.jamestechnotes.com/r/james/home/home
[james-home.git]
/
bin
/
repomirror
blob
f3ea49b86a3885010921f44c1199457dbb38557c
1
#!/bin/sh
2
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