Skip to content

Commit

Permalink
feat(config): add init.defaultBranch (set to main) to cfggit alias
Browse files Browse the repository at this point in the history
  • Loading branch information
gkalpak committed Jul 7, 2024
1 parent b19bdba commit f86a917
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ const CFGGIT_SPEC = (credHelper, kdiff3Path) => new AliasSpec(
git config --global commit.gpgSign true
git config --global core.editor "vim"
git config --global credential.helper "${credHelper}"
git config --global init.defaultBranch "main"
git config --global merge.tool "kdiff3"
git config --global mergetool.kdiff3.path "${kdiff3Path}"
git config --global mergetool.kdiff3.trustExitCode "false"
Expand Down

0 comments on commit f86a917

Please sign in to comment.