2 ms·
Git already has a config to do this: help.autocorrect Automatically correct and execute mistyped commands after waiting for the given number of decisecon
by manojlds 12y ago
Git already has a config to do this:
help.autocorrect
Automatically correct and execute mistyped commands after waiting for the given number of deciseconds (0.1 sec).
If more than one command can be deduced from the entered text, nothing will be executed. If the value of this option is negative, the corrected command will be executed immediately.
If the value is 0 - the command will be just shown but not executed. This is the default.
http://git-scm.com/docs/git-config http://git-scm.com/docs/git-config
- nvbn 12y agoCool, didn't know about that before.