home/categories/git-workflows/waterplanai-agentic-config-core-skills-git-rewrite-history-skill-md
git-workflowsdevops

git-rewrite-history

Rewrites git history safely with dry-run-first workflow. Supports commit amending, squashing, rewording, tag updates, and force pushing. Always proposes plan before execution. Triggers on keywords: rewrite history, squash commits, amend commit, fix commit, update tags, rebase history, clean history, fix tag

WaterplanAI
maintainer
WaterplanAI
更新於 1/19/2026
星標
21
分支
2
quick start

Installation and usage

Rewrites git history safely with dry-run-first workflow. Supports commit amending, squashing, rewording, tag updates, and force pushing. Always proposes plan before execution. Triggers on keywords: rewrite history, squash commits, amend commit, fix commit, update tags, rebase history, clean history, fix tag

安裝
$ install --globalskills.sh
使用

安裝後,您可以透過在終端機執行以下指令來使用此技能:

skills use git-rewrite-history