From 15d06a92f5ae1867a83e88e7363a473d2343779e Mon Sep 17 00:00:00 2001 From: Tran Hau Date: Sun, 11 Apr 2021 00:56:55 +0700 Subject: [PATCH] feat: remove set editor in git script --- Applications/Essential/git.md | 12 ++++++------ Scripts/git.sh | 3 --- 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/Applications/Essential/git.md b/Applications/Essential/git.md index 49cefc6..93d37cf 100644 --- a/Applications/Essential/git.md +++ b/Applications/Essential/git.md @@ -29,18 +29,18 @@ Always pull rebase: git config --global pull.rebase true ``` -Set default branch to `main`: - -```sh -git config --global init.defaultBranch main -``` - Always fetch/pull prune: ```sh git config --global fetch.prune true ``` +Set default branch to `main`: + +```sh +git config --global init.defaultBranch main +``` + ## Commands Prefer rebase when pull: diff --git a/Scripts/git.sh b/Scripts/git.sh index ff8037c..2d64032 100755 --- a/Scripts/git.sh +++ b/Scripts/git.sh @@ -12,9 +12,6 @@ git config --global alias.ps push git config --global alias.st status git config --global alias.sw switch -# Editor -git config --global core.editor nvim - # Misc git config --global pull.rebase true git config --global init.defaultBranch main