Skip to content

Commit

Permalink
add windows git init
Browse files Browse the repository at this point in the history
  • Loading branch information
jingjingxyk committed Jan 30, 2025
1 parent 2b95525 commit 6be9db7
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions sapi/quickstart/windows/git-init.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,9 @@ if (-not (Test-Path -Path $git_install_package))

$env:PATH += ";C:\Program Files\Git;"
Write-host $env:PATH
git.exe -v
git -v
git config --global core.autocrlf false
git config --global core.eol lf
git config --global core.ignorecase false
Invoke-Expression -Command "git -v"
Invoke-Expression -Command "git config --global core.autocrlf false"
Invoke-Expression -Command "git config --global core.eol lf"
Invoke-Expression -Command "git config --global core.ignorecase false"


0 comments on commit 6be9db7

Please sign in to comment.