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