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

6 lines
122 B
Plaintext
Raw Normal View History

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