Makzan / I share what I learned

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.


Published on 2020-04-27. More articles like this:
- Git
- Today I Learned

Previous <- On using mouse or trackpad in iPadOS 13.4
Next -> How I minimize phone distraction: grayscale display

Want productive tips and web technologies links like this in your inbox each week? Sign up for weekly dispatch each week. No spam ever. Just useful content: