mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-04-22 09:58:19 +02:00
Update configure-git.ps1
This commit is contained in:
parent
af03a1a13c
commit
79f479b5e6
@ -26,12 +26,13 @@ try {
|
|||||||
& git config --global user.name $FullName
|
& git config --global user.name $FullName
|
||||||
& git config --global user.email $EmailAddress
|
& git config --global user.email $EmailAddress
|
||||||
& git config --global core.editor $FavoriteEditor
|
& git config --global core.editor $FavoriteEditor
|
||||||
& git config --global http.sslVerify false
|
|
||||||
& git config --global core.autocrlf false
|
& git config --global core.autocrlf false
|
||||||
& git config --global core.symlinks true
|
& git config --global core.symlinks true
|
||||||
& git config --global core.longpaths true
|
& git config --global core.longpaths true
|
||||||
|
& git config --global http.sslVerify false
|
||||||
& git config --global init.defaultBranch main
|
& git config --global init.defaultBranch main
|
||||||
& git config --global merge.renamelimit 99999
|
& git config --global merge.renamelimit 99999
|
||||||
|
& git config --global pull.rebase false
|
||||||
if ($lastExitCode -ne "0") { throw "'git config' failed (in basic settings)" }
|
if ($lastExitCode -ne "0") { throw "'git config' failed (in basic settings)" }
|
||||||
|
|
||||||
# Basic shortcuts:
|
# Basic shortcuts:
|
||||||
|
Loading…
Reference in New Issue
Block a user