summaryrefslogtreecommitdiff
path: root/git-push-script
diff options
context:
space:
mode:
Diffstat (limited to 'git-push-script')
-rwxr-xr-xgit-push-script4
1 files changed, 4 insertions, 0 deletions
diff --git a/git-push-script b/git-push-script
index 5fa5af2..744ee7e 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 "$@")