dotfiles/.local/bin/scripts/git-ready

6 lines
122 B
Text
Raw Normal View History

2020-12-12 16:51:14 +01:00
#!/bin/sh
# Interactive rebase onto the remote
remote="$1"
2021-01-03 15:01:11 +01:00
test $# -gt 0 && shift
2020-12-12 16:51:14 +01:00
git rebase -i ${remote:-'@{push}'} "$@"