From d60308e90a945287bc2f7e758632012425f55149 Mon Sep 17 00:00:00 2001 From: Tran Hau Date: Thu, 27 Feb 2020 15:40:49 +0700 Subject: [PATCH] commit with vim --- use-git.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/use-git.md b/use-git.md index 7362e60..4f2e079 100644 --- a/use-git.md +++ b/use-git.md @@ -47,3 +47,9 @@ Save usernames and passwords in `~/.git-credentials`: ```sh git config --global credential.helper store ``` + +Use `vim` when commit: + +```sh +git config --global core.editor vim +```