Sobes.tech
Middle

Wie kann man in einem Versionskontrollsystem zu einem anderen Branch wechseln, während man auf dem aktuellen Branch bleibt?

sobes.tech KI

Antwort von AI

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

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