TIL: git checkout is now two commands: git switch and git restore

https://stackoverflow.com/a/57266005/1382695

Today I learned:

I had been using git checkout for both switching branch, creating branch, restoring files since 2009. I often thought that should be two commands for two purposes. So here they are: switch and restore.

Makzan
I teach web design. I write books on HTML5 games development. I host classes on mobile web and app development. I made animation with Adobe Flash (now Animate).

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.