Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Guides advanced git operations (rebase, bisect, cherry-pick, conflict resolution) with safety rules for linear-history workflows.
65% 96%+30 ptsof test cases passed
Passed 22 of 23 test cases with the skill, and 15 of 23 without it.
3 of 3 safety checks passed
Not used yet
Provide guidance for advanced git operations with safety considerations. This project uses a rebase-first workflow with linear history—understand these patterns to avoid breaking the codebase.
# FORBIDDEN: Force push to protected branches
git push --force origin main # NEVER
git push --force origin master # NEVER
# FORBIDDEN: Merge commits on main branch
git merge feature-branch # Use rebase-and-merge PR strategy
# FORBIDDEN: Skip pre-commit hooks
git commit --no-verify # Hooks exist for a reason
# FORBIDDEN: Rewriting shared history
git rebase -i HEAD~5 && git push --force # If already pushed
# SAFE: Force-with-lease on your feature branch
git push --force-with-lease origin {{TICKET_PREFIX}}-XXX-feature # Safe
# SAFE: Interactive rebase before first push
Published skills whose descriptions closely match this one, with their benchmark result.
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.