Goblin-mode merge-squashbase

{{ ๐›€๐›€๐›€ }} Squash and rebase

install
source ยท Clone the upstream repo
git clone https://github.com/JasonWarrenUK/goblin-mode
Claude Code ยท Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/JasonWarrenUK/goblin-mode "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/merge-squashbase" ~/.claude/skills/jasonwarrenuk-goblin-mode-merge-squashbase && rm -rf "$T"
manifest: skills/merge-squashbase/SKILL.md
source content

Squash and Rebase 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
  4. Run
    git rebase -i origin/main
    โ€” in the editor, squash or fixup commits as appropriate, leaving one clean commit (or a small number of logical commits) with a descriptive message
  5. If conflicts exist, list them and resolve one at a time preserving our branch's intent, running
    git rebase --continue
    after each
  6. Run tests to verify
  7. Push with
    git push --force-with-lease