Skip to content

Commit

Permalink
Merge pull request #1 from itamarc/fix-git-fatal-error
Browse files Browse the repository at this point in the history
Fix git fatal error message
  • Loading branch information
planetoftheweb committed Jul 25, 2021
2 parents ff9120a + bf084ae commit 5565a5a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@ for CURRENT_BRANCH in ${ALL_THE_BRANCHES[@]};
# the branch is NOT the same as the key branch
if [ "${KEY_BRANCH}" != "${CURRENT_BRANCH}" ];
then
echo "--GIT FETCH origin"
git fetch origin
echo "--GIT CHECKOUT -b $CURRENT_BRANCH origin/$CURRENT_BRANCH"
git checkout -b $CURRENT_BRANCH origin/$CURRENT_BRANCH

# Go through each of the files
Expand Down

0 comments on commit 5565a5a

Please sign in to comment.