Skip to content

Commit

Permalink
Temporarily disable clean branch checks.
Browse files Browse the repository at this point in the history
  • Loading branch information
odrotbohm committed Dec 11, 2024
1 parent 898cd47 commit 7db063c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions etc/backport-ticket.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ done
echo -e "\nChecking the state of the current branch"

isDefaultBranch || _exit 1 "Current branch is not the default branch"
isCleanBranch || _exit 1 "Current branch is not clean"
# isCleanBranch || _exit 1 "Current branch is not clean"
# To repair, run: git cherry-pick --abort &>/dev/null; git fetch origin && git reset --hard origin/$(git symbolic-ref --short HEAD) && git clean -fd; git checkout main

sourceGh=$(getGHCode "$number")
Expand Down Expand Up @@ -77,7 +77,7 @@ do
echo -e "\nChecking out target branch"

git checkout $targetBranch
isCleanBranch || _exit 1 "Current branch is not clean"
# isCleanBranch || _exit 1 "Current branch is not clean"
# To repair, run: git cherry-pick --abort &>/dev/null; git fetch origin && git reset --hard origin/$(git symbolic-ref --short HEAD) && git clean -fd; git checkout main

targetGh=""
Expand Down

0 comments on commit 7db063c

Please sign in to comment.