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.mdsource content
Squash and Rebase onto Main
- Check current branch name and confirm with user
- Do NOT create a worktree - work in the current directory
- Run
git fetch origin main - Run
โ in the editor, squash or fixup commits as appropriate, leaving one clean commit (or a small number of logical commits) with a descriptive messagegit rebase -i origin/main - If conflicts exist, list them and resolve one at a time preserving our branch's intent, running
after eachgit rebase --continue - Run tests to verify
- Push with
git push --force-with-lease