6 ms·
There is also `git restore` for reverting local or staged changes, the other common use of `git checkout`. I am slowly remapping my keystroke muscle memory awa
by anthomtb 4y ago
There is also `git restore` for reverting local or staged changes, the other common use of `git checkout`.
I am slowly remapping my keystroke muscle memory away from the footgun that is `git checkout` and using restore/switch. But boy is it hard to undo a decade of practice.