X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=git-push-script;h=744ee7e7dc8986767f410f99f4ff8c644654b172;hb=debb9d84445239ffbc630611548af630fb8e1e7a;hp=5fa5af2af896e3bf6854387e744b9d2643a8f510;hpb=434d6ba03122c160f98713a009cf8a32d02982f3;p=git.git diff --git a/git-push-script b/git-push-script index 5fa5af2a..744ee7e7 100755 --- a/git-push-script +++ b/git-push-script @@ -26,6 +26,10 @@ do esac shift done +case "$#" in +0) + die "Where would you want to push today?" ;; +esac . git-parse-remote-script remote=$(get_remote_url "$@")