#!/bin/sh
# Interactive rebase onto the remote
remote="$1"
test $# -gt 0 && shift
git rebase -i ${remote:-'@{push}'} "$@"