diff --git a/install.ps1 b/install.ps1 index df689b2..be28425 100644 --- a/install.ps1 +++ b/install.ps1 @@ -635,6 +635,9 @@ if ($userChoice -ne "CloneOnly") { -CheckCommand "git" ` -MinVersion "2.23" ` -AdditionalArgs "-e" + + Write-Host "Setting the init.defaultBranch to be \"main\"" + git config --global init.defaultBranch main # Verify Git version specifically if ($results.Git) {