git/pushall
2011-10-19 11:14:04 -07:00

16 lines
231 B
Bash
Executable File

#!/bin/sh
for remote in ko repo gph github2 sfjp sf.net
do
printf "%s: " "$remote"
git push "$remote" "$@" || exit $?
done
case "$#" in
0)
printf "github mirror: "
git push github "$@" ;;
*)
echo "No push to github" ;;
esac