1 2 3 4 5 6 7 8 9 10
#!/bin/sh # * mirror # Mirror the repository # ssh git@host mirror git://url/repo.git set -E for _m in "$@"; do git clone --mirror "$_m" done