0
Auto-correct Git commands
source link: https://bhupesh.gitbook.io/notes/git/autocorrect-git-commands
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Auto-correct Git commands
Posted on 24 Jun, 2021
help.autocorrect docs
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
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK