Skip to content

Commit 56f240f

Browse files
Checkout remote branch
1 parent 29d1c97 commit 56f240f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

assets/in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ git clone $depthflag "$uri" "$destination"
7070
cd "$destination"
7171

7272
git fetch $depthflag origin "+refs/${branch}:refs/remotes/origin/${branch}"
73-
git checkout "${branch}"
73+
git checkout -B $branch origin/$branch
7474

7575
ref=$(git rev-parse HEAD)
7676

0 commit comments

Comments
 (0)