git rebase-recent Rebase recent commits with interactive Git alias: rebase-recent = !git rebase --interactive $(git remote-ref) Example: git rebase-recent Thanks to jtolds on stackoverflow.