1
0
mirror of https://github.com/namibia/tips.git synced 2024-11-10 15:20:57 +00:00

Merge pull request #89 from adityasiwan/master

Add custom editor
This commit is contained in:
hemanth.hm 2016-06-16 17:48:57 +05:30 committed by GitHub
commit 79c74517f6
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"