Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Covers advanced git workflows: worktrees, bisect, interactive rebase, hooks, and recovery techniques.
Use this skill ↓88% 79%−8 ptsof test cases passed
Passed 19 of 24 test cases with the skill, and 21 of 24 without it.
3 of 3 safety checks passed
Not used yet
# Create a worktree for a feature branch (avoids stashing)
git worktree add ../feature-auth feature/auth
# Create a worktree with a new branch
git worktree add ../hotfix-123 -b hotfix/123 origin/main
# List all worktrees
git worktree list
# Remove a worktree after merging
git worktree remove ../feature-auth
Worktrees let you work on multiple branches simultaneously without stashing or committing WIP. Each worktree has its own working directory but shares the same .git repository.
# Start bisect, mark current as bad and known good commit
git bisect start
git bisect bad HEAD
git bisect good v1.5.0
# Git checks out a midpoint commit. Test it, then mark:
git bisect good # if this commit works
git bisect bad # if this commit is broken
# Automate with a test script
git bisect start HEAD v1.5.0
git bisect run npm test
# When done, reset
git bisect reset
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.