jnareb

joined 1 year ago
[–] jnareb 1 points 1 year ago

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 -.

[–] jnareb 2 points 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.

view more: ‹ prev next ›