4 ms·
The title and first 2/3s of the article are excessively hyperbolic and it detracts from the message. The title would be improved by adding "in favor of git swit
by imoreno 2y ago
The title and first 2/3s of the article are excessively hyperbolic and it detracts from the message. The title would be improved by adding "in favor of git switch/restore". The body would be improved by leading with the last 3 paragraphs, and tucking the rest under a "why not just use `git checkout`?" section.
I appreciated finding out about `switch` and `restore` as alternatives to `checkout`. But they are minor, incremental improvements. Framing it like `checkout` is the devil doesn't help, because it really isn't that bad, especially to people who consider git as a means to an end.
- ameliaquining 2y agoThe author explicitly says "I'm not calling for Git to remove git checkout" and "I am not asking for an official deprecation". They are trying, rather, to build a community consensus that it should not be taught to new users going forward. The command itself isn't going anywhere.
- imoreno 2y agoYou're right, that was me reading carelessly. I've removed that last part of my post (couldn't figure out how to do strikethrough on HN).