diff --git a/scripts/git_checkout.ps1 b/scripts/git_checkout.ps1 index 04b51a2..b37b97a 100644 --- a/scripts/git_checkout.ps1 +++ b/scripts/git_checkout.ps1 @@ -15,12 +15,12 @@ if (Test-Path -PathType Container .git){ Write-Output "performing git pull..." - git checkout master - git reset --hard - git clean -fdx - git pull + git checkout master 2>&1 + git reset --hard 2>&1 + git clean -fdx 2>&1 + git pull 2>&1 # TODO: in case of errors: delete folder and clone } else { Write-Output "performing git clone..." - git clone --depth 1 https://github.com/llvm/llvm-project + git clone --depth 1 https://github.com/llvm/llvm-project 2>&1 } \ No newline at end of file