Finally! 🤩
`git checkout` has too many responsibilities. It's used for both switching branches, and for restoring individual files to a previous state.

So in git 2.23, it's being split into two distinct commands:

`git switch` & `git restore`

A welcome change 🤙

Sign in to participate in the conversation
Mastodon for Tech Folks

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!