Note that git checkout - / git switch - examine reflog to find previous branch. Which means if you renamed the branch, at least current version of Git would be unable to run git switch -.
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments