Skip to content

Commit

Permalink
Try using local config instead (#2755)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewlock committed May 4, 2022
1 parent 7216bd7 commit 6c0d118
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .azure-pipelines/steps/clone-repo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ steps:
git version
git lfs version
echo "Updating git config"
git config --global init.defaultBranch master
git config init.defaultBranch master
git init "$BUILD_REPOSITORY_LOCALPATH"
git remote add origin "$BUILD_REPOSITORY_URI"
git config gc.auto 0
Expand All @@ -27,8 +27,8 @@ steps:
git checkout --force $prBranch
displayName: checkout
- bash: |
git config --global user.email "gitfun@example.com"
git config --global user.name "Automatic Merge"
git config user.email "gitfun@example.com"
git config user.name "Automatic Merge"
git merge ${{ parameters.masterCommitId }}
git status
displayName: merge
Expand Down

0 comments on commit 6c0d118

Please sign in to comment.