refactor: move the installation description to the README.md

This commit is contained in:
Bjarke Sporring
2026-01-16 12:40:49 +01:00
parent 7fc0c1342a
commit d80fa74af9
3 changed files with 15 additions and 338 deletions

View File

@@ -642,17 +642,21 @@ if ($userChoice -ne "CloneOnly") {
Write-Host " Setting the init.defaultBranch to be 'main'"
git config --global init.defaultBranch main
Write-Success " Set 'main' as default branch"
Write-Host " Setting the default editor to code, to handle merge messages"
git config --global core.editor "code --wait"
Write-Success " Visual Studio Code set as core.editor"
Write-Host " Setting vscode at the default code editor for merge conflicts"
git config --global merge.tool vscode
git config --global mergetool.vscode.cmd 'code --wait --merge $REMOTE $LOCAL $BASE $MERGED'
git config --global mergetool.vscode.cmd 'code --wait --merge $MERGED'
Write-Success " Visual Studio Code set as mergetool"
Write-Host " Setting vscode as the default code editor for diffs"
git config --global diff.tool vscode
git config --global difftool.vscode.cmd 'code --wait --diff $LOCAL $REMOTE'
Write-Success " Visual Studio Code set as difftool"
# Verify Git version specifically
if ($results.Git) {