Skip to main content

rebase-pr

Provides a structured process for rebasing pull requests use when asked to "rebase a PR".

Zur Installation springen

Quellinformationen

Repository
redhat-et/ProtoBot
Letzte Quellaktivität
31. August 2026 um 17:44
Erkannte Sprache von SKILL.md
Englisch
Sterne
5
Forks
5

Installationsoptionen

Standardmäßig ist der Prompt ausgewählt, der zuerst die Quelle prüft. Sie können zu einem direkten Befehl wechseln oder eine lokale Kopie herunterladen.

Quelldateien prüfen

Lesen Sie SKILL.md und alle von SkillsMP angezeigten Begleitdateien, bevor Sie sich für eine Installation entscheiden.

SKILL.md wird angezeigt

SKILL.md
Quellanweisungen · Schreibgeschützte Vorschau
name
rebase-pr
description
Provides a structured process for rebasing pull requests use when asked to "rebase a PR".
# Rebasing a Pull Request When asked to "rebase a PR", follow this structured process: - Check out the branch associated with the pull request into a local worktree under `.worktrees/`, as required by the repository workflow. - Rebase the branch on the latest `upstream/main` - Resolve any merge conflicts that arise during the rebase process - Ensure all pre-commit checks pass before creating any commit for conflict resolution, and ensure all tests pass locally after the rebase - Before pushing, verify that the expected remote branch state still points to the commit recorded before the rebase; stop if the remote branch has changed - Push the rebased branch back to the remote repository with `git push --force-with-lease`, which will update the pull request; stop if the lease check fails and do not fall back to an unqualified force push - Monitor CI checks and address any issues that arise after pushing the rebased branch - Clean up the local worktree after the rebase process is complete
Auf GitHub ansehen