Sobes.tech
Middle

How can you switch to another branch in a version control system while remaining on the current branch?

sobes.tech AI

Answer from AI

Используя git worktree.

# Создание новой рабочей копии ветки next_feature в директории ../next_feature_worktree
git worktree add ../next_feature_worktree next_feature