File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change 7878* [ Always rebase instead of merge on pull.] ( https://github.com/git-tips/tips#always-rebase-instead-of-merge-on-pull )
7979* [ List all the alias and configs.] ( https://github.com/git-tips/tips#list-all-the-alias-and-configs )
8080* [ Make git case sensitive.] ( https://github.com/git-tips/tips#make-git-case-sensitive )
81+ * [ Auto correct typos.] ( https://github.com/git-tips/tips#auto-correct-typos )
8182
8283<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
8384<!-- @doxie.inject end toc -->
@@ -539,5 +540,10 @@ git config --list
539540git config --global core.ignorecase false
540541```
541542
543+ ## Auto correct typos.
544+ ``` sh
545+ git config --global help.autocorrect 1
546+ ```
547+
542548<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
543549<!-- @doxie.inject end -->
Original file line number Diff line number Diff line change 237237}, {
238238 "title" : " Make git case sensitive." ,
239239 "tip" : " git config --global core.ignorecase false"
240+ }, {
241+ "title" : " Auto correct typos." ,
242+ "tip" : " git config --global help.autocorrect 1"
240243}]
You can’t perform that action at this time.
0 commit comments