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