You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

15 lines
231 B

#!/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