Git 2.23: switch and restore
· #git#tooling
A couple of nice additions to git’s command-line interface landed in 2.23: you can now move between branches with the more intuitive git switch, and restore files from history with git restore.
Both are essentially front-ends over git checkout — an overloaded, cognitively heavy command that beginners constantly trip over. Splitting its two very different jobs into two clearly named commands is a small but welcome quality-of-life win.
Originally posted on my Telegram channel Ламповый ТехДир.