3 ms·
No, because a branch is a (re-assignable) name for some commit and cannot point at different commits while in the same repository at the same time. A "branch bu
by matrss 3y ago
No, because a branch is a (re-assignable) name for some commit and cannot point at different commits while in the same repository at the same time. A "branch but at different commits" simply makes no sense. You can however create a worktree with a detached HEAD pointing at any commit. By default it seems to create a branch for each worktree.