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