3 USAGE
='[--all] [--force] <repository> [<refspec>...]'
6 # Parse out parameters and then stop at remote, so that we can
7 # translate it using .git/branches information
13 while case "$#" in 0) break ;; esac
33 echo "Where would you want to push today?"
38 remote
=$
(get_remote_url
"$@")
41 '') set x $
(get_remote_refs_for_push
"$@") ;;
47 die
"Cannot use READ-ONLY transport to push to $remote" ;;
49 die
"Pushing with rsync transport is deprecated" ;;
52 set x
"$remote" "$@"; shift
53 test "$has_all" && set x
"$has_all" "$@" && shift
54 test "$has_force" && set x
"$has_force" "$@" && shift
55 test "$has_exec" && set x
"$has_exec" "$@" && shift
59 exec git-http-push
"$@";;
61 exec git-send-pack
"$@";;