You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Write-Error"The user has selected option InitialPush to push their assets, neither $TestProxyExe nor standalone executable $StandaloneTestProxyExe are installed on this machine."
108
109
exit1
109
110
}
111
+
112
+
# if we're pushing, we also need to confirm that the necessary git configuration items are set
113
+
$result= git config --get user.name
114
+
if ($LASTEXITCODE-ne0-or!$result){
115
+
Write-Error"The git config setting `"user.name`" is unset. Set it to your git user name via 'git config --global user.name `"<setting>`'"
116
+
}
117
+
118
+
$result= git config --get user.email
119
+
if ($LASTEXITCODE-ne0-or!$result){
120
+
Write-Error"The git config setting `"user.email`" is unset. Set it to your git email via 'git config --global user.email `"<setting>`'"
121
+
}
110
122
}
111
123
112
124
if ($TestProxyExe-eq"test-proxy"-or$TestProxyExe.StartsWith("Azure.Sdk.Tools.TestProxy")) {
0 commit comments