Add custom editor

This commit is contained in:
Aditya Harsh 2016-06-16 14:16:41 +05:30
parent dec07c0170
commit bdad5790be
2 changed files with 9 additions and 0 deletions

View File

@ -84,6 +84,7 @@ P.S: All these commands are tested on `git version 2.7.4 (Apple Git-66)`.
* [Always rebase instead of merge on pull.](#always-rebase-instead-of-merge-on-pull)
* [List all the alias and configs.](#list-all-the-alias-and-configs)
* [Make git case sensitive.](#make-git-case-sensitive)
* [Add custom editors.](#add-custom-editors)
* [Auto correct typos.](#auto-correct-typos)
* [Check if the change was a part of a release.](#check-if-the-change-was-a-part-of-a-release)
* [Dry run. (any command that supports dry-run flag should do.)](#dry-run-any-command-that-supports-dry-run-flag-should-do)
@ -624,6 +625,11 @@ git config --list
git config --global core.ignorecase false
```
## Add custom editors.
```sh
git config --global core.editor '$EDITOR'
```
## Auto correct typos.
```sh
git config --global help.autocorrect 1

View File

@ -254,6 +254,9 @@
}, {
"title": "Make git case sensitive.",
"tip": "git config --global core.ignorecase false"
},{
"title": "Add custom editors.",
"tip": "git config --global core.editor '$EDITOR'"
}, {
"title": "Auto correct typos.",
"tip": "git config --global help.autocorrect 1"