From f8d2278bd02dc4c62fc9a2a4e145ca204c19a682 Mon Sep 17 00:00:00 2001 From: "Hemanth.HM" Date: Sun, 31 Jan 2016 21:00:33 +0530 Subject: [PATCH] auto correct typos --- README.md | 6 ++++++ tips.json | 3 +++ 2 files changed, 9 insertions(+) diff --git a/README.md b/README.md index 9b7e889..d2b2f7e 100644 --- a/README.md +++ b/README.md @@ -78,6 +78,7 @@ * [Always rebase instead of merge on pull.](https://github.com/git-tips/tips#always-rebase-instead-of-merge-on-pull) * [List all the alias and configs.](https://github.com/git-tips/tips#list-all-the-alias-and-configs) * [Make git case sensitive.](https://github.com/git-tips/tips#make-git-case-sensitive) +* [Auto correct typos.](https://github.com/git-tips/tips#auto-correct-typos) @@ -539,5 +540,10 @@ git config --list git config --global core.ignorecase false ``` +## Auto correct typos. +```sh +git config --global help.autocorrect 1 +``` + diff --git a/tips.json b/tips.json index 8cbd5f8..cf48f59 100644 --- a/tips.json +++ b/tips.json @@ -237,4 +237,7 @@ }, { "title": "Make git case sensitive.", "tip": "git config --global core.ignorecase false" +}, { + "title": "Auto correct typos.", + "tip": "git config --global help.autocorrect 1" }]