checkout out

Hide hard words

https://news.ycombinator.com/item?id=42649858

LINKS°hard word TO

https://mirawelner.com/posts/checkout.html

The top HN°hard word comment°hard word:

`git°hard word switch°hard word` and `git°hard word restore°hard word` are better alternatives°hard word to the `git°hard word checkout°hard word` command, as they have a lower cognitive°hard word overhead and fewer footguns°hard word to avoid°hard word. Although these commands are marked in the documentation°hard word as experimental°hard word, they work extremely well in practice. Experimental°hard word in this sense means that these may gain°hard word or lose behavior over time, not that these commands are unstable°hard word for use. As a community°hard word, we should use `switch°hard word` and `restore°hard word` commands rather than `checkout°hard word` when documenting°hard word / teaching git°hard word so that newer users°hard word start with a greater ability°hard word to reason about how the commands affect°hard word their workflow°hard word.