What does `git worktree add ../hotfix hotfix-branch` give you?
Worktrees share one object database across multiple checkouts — perfect for reviewing a PR or cutting a hotfix while your main working directory stays untouched.
🌊 This is a free sample — 1015+ more questions on DevOps Ocean
Sign in free to practice the full question bank with daily challenges, XP, streaks, duels and a global leaderboard.