Skip to content

Commit b176c64

Browse files
committed
leaving checkout only
1 parent a3d6e67 commit b176c64

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

build/build_prep.ps1

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,5 @@ dotnet tool install Cake.Tool --version 1.1.0
33
Invoke-WebRequest https://cakebuild.net/download/bootstrapper/dotnet-tool/windows -OutFile build.ps1
44
if ($prNo = $env:APPVEYOR_PULL_REQUEST_NUMBER) {
55
Write-Host "PR Build, creating an explicit branch"
6-
git fetch --unshallow
7-
git config remote.origin.fetch "+refs/heads/*:refs/remotes/origin/*"
8-
git fetch origin
9-
git branch master origin/master
10-
git checkout -b "pr-build-$prNo"
6+
git checkout -qb "pr-build-$prNo"
117
}

0 commit comments

Comments
 (0)