Created
February 5, 2018 15:22
-
-
Save lennybacon/d37aa74b64e0afeb4a7c221318ab9806 to your computer and use it in GitHub Desktop.
Swallow GIT output to STDERR when running in PowerShell from Team Foundation Build vNext
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
& git config user.email "donotreply@example.org" | |
& git config user.name "Build Server" | |
$o = Invoke-Expression "& git fetch origin master 2>&1" | |
$o = Invoke-Expression "& git checkout master 2>&1" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment