home/categories/git-workflows/yaniv-golan-git-hex-skills-git-hex-branch-cleanup-skill-md
git-workflowsdevops

git-hex-branch-cleanup

This skill should be used when the user wants to clean up a feature branch's history using git-hex (squash/fixup commits, reorder/drop/split commits, or rebase a branch onto main) without using an interactive terminal. Trigger phrases include: "clean up my branch", "polish history", "squash these commits", "fixup commits", "rebase onto main", "rewrite commits".

yaniv-golan
maintainer
yaniv-golan
更新于 1/19/2026
星标
0
分支
0
quick start

Installation and usage

This skill should be used when the user wants to clean up a feature branch's history using git-hex (squash/fixup commits, reorder/drop/split commits, or rebase a branch onto main) without using an interactive terminal. Trigger phrases include: "clean up my branch", "polish history", "squash these commits", "fixup commits", "rebase onto main", "rewrite commits".

安装
$ install --globalskills.sh
使用

安装后,您可以通过在终端运行以下命令来使用此技能:

skills use git-hex-branch-cleanup