you are viewing a single comment's thread
view the rest of the comments
[–] 1 point 10 months ago

In both cases, checkout updates your working tree (by checking out either all or just some files from a commit), just when you're switching branches it moves your HEAD pointer too

  • source
  • parent