summaryrefslogtreecommitdiff
path: root/git-shell-commands/mirror
blob: 212687e1ce354073faac474951d02b4e72317b22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh
# * mirror
#   Espeja un repositorio
#   ssh git@host mirror git://url/repo.git

set -E

for _m in $@; do
    git clone --mirror $_m
done

exit $?