Agent skill

merge-rebase

{{ 𝛀𝛀𝛀 }} Rebase from main

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/merge-rebase

SKILL.md

Rebase Current Branch onto Main

  1. Check current branch name and confirm with user
  2. Do NOT create a worktree - work in the current directory
  3. Run git fetch origin main && git rebase origin/main
  4. If conflicts exist, list them and resolve one at a time preserving our branch's intent, running git rebase --continue after each
  5. Run tests to verify
  6. Push with git push --force-with-lease

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results