X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=git-push.sh;h=1c5cf80f8786eb20c6092a8fbce48e1f1c1cb9e1;hb=e921fb82cf6fb4a5f138ec9d27bc37c658336a8c;hp=edc0b8317a6d566895c4a2df6a3f7d86773ca138;hpb=df8171ccb34ef346799b8bc2794d8707209c91d1;p=git.git diff --git a/git-push.sh b/git-push.sh index edc0b831..1c5cf80f 100755 --- a/git-push.sh +++ b/git-push.sh @@ -1,10 +1,7 @@ #!/bin/sh -. git-sh-setup || die "Not a git archive" - -usage () { - die "Usage: git push [--all] [--force] []" -} +USAGE='[--all] [--force] [...]' +. git-sh-setup # Parse out parameters and then stop at remote, so that we can # translate it using .git/branches information