3 ms·
Nice to see "Did You Mean" suggestions flourishing across various tools now, e.g. Git too. Error messages can be a whole lot more than indecipherable jargon, ev
by mmahemoff 11y ago
Nice to see "Did You Mean" suggestions flourishing across various tools now, e.g. Git too. Error messages can be a whole lot more than indecipherable jargon, even for command-line warriors.
I'm also looking forward to never writing "if foo && foo.bar" again!
Congrats and happy holidays Ruby team :).
- cdcarter 11y agoWell, git's "did you mean" is probably the most frustrating command line experience imaginable, but it's quite nice in a language!
- dmerrick 11y agoIt's the worst when it says something to the effect of "you made a typo, so we already ran this unrelated command for you!" Tip: run the following to add a 1-second pause between the message and the "fixed" command being executed: git config --global help.autocorrect 10