git/pushall
2013-05-24 14:12:52 -07:00

21 lines
403 B
Bash
Executable File

#!/bin/sh
# for remote in ko repo gph github2 sfjp sf.net
for remote in ko repo gph github2 sfjp sf.net
do
printf "%s: " "$remote"
git push --follow-tags "$remote" "$@" || exit $?
done
case "$#,$*" in
0,* | 1,-n)
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