Skip to content

Commit

Permalink
checkout branch always in clone scripts (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
krystophny authored Jan 28, 2025
2 parents 7a9086d + 1a3d108 commit 605e3c4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions scripts/util.sh
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,9 @@ clone_gitlab() (
fi

git clone $URL
cd $repo
set_branch
git checkout $CODE_BRANCH 2>/dev/null || true
)


Expand All @@ -111,6 +114,9 @@ clone_github() (
fi

git clone $URL
cd $repo
set_branch
git checkout $CODE_BRANCH 2>/dev/null || true
)


Expand Down

0 comments on commit 605e3c4

Please sign in to comment.