Last Updated: February 25, 2016
·
354
· ashleyhazle

Git autocorrect

Sick of getting this when you make a typo:

git: 'statsu' is not a git command. See 'git --help'.

Did you mean this?
    status

Active autocorrect with:

$ git config --global help.autocorrect 10
$ git statsu
WARNING: You called a Git command named 'statsu', which does not exist.
Continuing under the assumption that you meant 'status'
in 1.0 seconds automatically...
# On branch develop
nothing to commit (working directory clean)

The number on the end being the delay before it "continues automatically", put in what ever makes you happy.