Skip to content

Commit 07a0b8e

Browse files
authored
Add --global to fix sync doc pipline (#21916)
1 parent eb86a9f commit 07a0b8e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/SyncDocsToMicrosoftDocsOrg.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ foreach ($SyncPath in $Config.SyncPath)
2929

3030
$SyncFile = Split-Path $SyncPath -Leaf
3131

32-
git config user.email "[email protected]"
33-
git config user.name "azure-powershell-bot"
32+
git config --global user.email "[email protected]"
33+
git config --global user.name "azure-powershell-bot"
3434

3535
cd $WorkSpace
3636
git clone $RepoCloneLink

0 commit comments

Comments
 (0)