`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 🤙
github.blog/2019-08-16-highl…
Enfin deux commandes pour remplacer git checkout :
✅ git switch, pour les branches
✅ git restore, pour les fichiers
Fini la confusion 👍🏻
#git#gitswitch#gitrestore