mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2026-10-25 09:34:00 +08:00
Co-authored-by: nilbuild <4921183+nilbuild@users.noreply.github.com>
658 B
658 B
Git Worktree
Git worktree allows multiple branches to be checked out simultaneously in separate directories, all linked to the same repository. Running git worktree add <path> <branch> creates a new working directory for a specific branch without needing to clone the repository again. This is useful when a developer needs to work on two branches at once, like testing a hotfix while a feature branch remains checked out elsewhere.
Visit the following resources to learn more: