feat: remove set editor in git script

main
Tran Hau 2021-04-11 00:56:55 +07:00
parent 9262683e15
commit 15d06a92f5
2 changed files with 6 additions and 9 deletions

View File

@ -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:

View File

@ -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