rebase
1
总安装量
1
周安装量
#41678
全站排名
安装命令
npx skills add https://github.com/hsablonniere/skills --skill rebase
Agent 安装分布
amp
1
opencode
1
kimi-cli
1
codex
1
claude-code
1
Skill 文档
Interactive Rebase
Use the git-rebase-non-interactive.js script located in this skill’s directory.
Usage
<skill-path>/git-rebase-non-interactive.js HEAD~N << 'EOF'
pick abc123 Message
drop def456 Message to remove
fixup ghi789 Merge into previous
pick jkl012 Another message
exec git commit --amend -m "New message to rename"
EOF
Available Actions
pick: keep the commit as-isdrop: remove the commitfixup: merge into the previous commit (keep the previous commit’s message)squash: merge into the previous commit (combine both messages)exec git commit --amend -m "...": rename the commit just above
Workflow
- Run
git log --onelineto see the commits - Build the todo list with the desired actions
- Run the command with a heredoc