Links
Comment on page

Auto-correct Git commands

Posted on 24 Jun, 2021
Git offers correcting misspelled git commands within a timed interval
# run the correct command after 0.7 seconds
git config --global help.autocorrect 7
Or in your global .gitconfig
[help]
# default 0
# negative value to run correct command immediately
autocorrect = 7
Now test it by running git sttus
git-auto-correct-demo