git/pushall
2011-11-16 22:46:01 -08:00

20 lines
325 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 "$@" || exit $?
for topic in htmldocs manpages
do
printf "%s: " "$topic"
( cd ../git-$topic.git && git push ) || exit
done
;;
esac