dotfiles/.local/bin/git-ready

6 lines
122 B
Bash
Executable File

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