If I remember it correctly, git checkout
also automatically creates the local branch from the remote branch (of the same name), and sets up tracking.
jnareb
joined 1 year ago
If I remember it correctly, git checkout
also automatically creates the local branch from the remote branch (of the same name), and sets up tracking.
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 rungit switch -
.