Situational guide to Git for new engineers - worktree

Situation: You need to work on multiple tickets but don’t want to duplicate a repository on your computer.

A common situation is that you are either working on task and need to switch to work on another branch or complete another task. Git stashes or just switching branch is possible but sometimes you just want to open another IDE and work in parallel. But you have a problem, you have a slow connection, or large repository and or lack in local storage. What to do.

Read more