home/categories/git-workflows/josehu07-josehu07-github-io-assets-dev-env-claude-code-skills-squash-branch-skill-md
git-workflowsdevops

squash-branch

Squash all commits on a feature branch into a single commit. Use when the user wants to clean up commit history, squash commits, or consolidate branch changes into one commit.

josehu07
maintainer
josehu07
更新于 1/18/2026
星标
5
分支
1
quick start

Installation and usage

Squash all commits on a feature branch into a single commit. Use when the user wants to clean up commit history, squash commits, or consolidate branch changes into one commit.

安装
$ install --globalskills.sh
使用

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

skills use squash-branch