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 78
78
* [ Always rebase instead of merge on pull.] ( https://github.com/git-tips/tips#always-rebase-instead-of-merge-on-pull )
79
79
* [ List all the alias and configs.] ( https://github.com/git-tips/tips#list-all-the-alias-and-configs )
80
80
* [ 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 )
81
82
82
83
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
83
84
<!-- @doxie.inject end toc -->
@@ -539,5 +540,10 @@ git config --list
539
540
git config --global core.ignorecase false
540
541
```
541
542
543
+ ## Auto correct typos.
544
+ ``` sh
545
+ git config --global help.autocorrect 1
546
+ ```
547
+
542
548
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
543
549
<!-- @doxie.inject end -->
Original file line number Diff line number Diff line change 237
237
}, {
238
238
"title" : " Make git case sensitive." ,
239
239
"tip" : " git config --global core.ignorecase false"
240
+ }, {
241
+ "title" : " Auto correct typos." ,
242
+ "tip" : " git config --global help.autocorrect 1"
240
243
}]
You can’t perform that action at this time.
0 commit comments