The Advanced Git Workflow skill empowers Claude to perform sophisticated version control tasks without the risk of interactive prompt failures. It provides standardized patterns for squashing commits via soft resets, chronologically-aware rebasing, and robust recovery from failed operations using the reflog. Designed for safety, it includes automated backup branch creation and specific rules for preserving code review context on shared branches, ensuring a clean and manageable project history even during complex repository operations.
主要功能
01Reflog-based commit and rebase recovery workflows
028 GitHub stars
03Non-interactive commit squashing via soft resets
04Automated backup branch creation before history modification
05Safe handling of modifications caused by pre-commit hooks
06Chronological feature branch rebasing with author-date preservation
使用场景
01Recovering lost work or aborted rebases using the git reflog and hard resets
02Consolidating local commits into a single clean message before pull request submission
03Maintaining a clean commit history on complex feature branches without manual interaction