refactor: move the installation description to the README.md
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user