Files
Lorenz Leutgeb 515b5884d0 master → main
The default branch of the repository changed from `master` to `main`,
so adapt scripts and documentation.
2026-10-20 16:31:17 +02:00

13 lines
229 B
Bash
Executable File

#!/bin/sh
set -e
if [ "$#" -lt 1 ]; then
printf "usage: %s <patch-id>\n" "$(basename "$0")"
exit 1
fi
rad patch checkout "$1"
git rebase main --autosquash
rad patch update "$1" --message "Rebased on main"
git checkout main