From 3fc9348237c8c6954ff88e58719af8a88af543f7 Mon Sep 17 00:00:00 2001 From: Carles Pina i Estany Date: Fri, 19 May 2023 16:30:18 +0200 Subject: [PATCH] Add target-branch output --- entrypoint.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/entrypoint.sh b/entrypoint.sh index 1694283..cae7e3e 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -149,6 +149,10 @@ git config --global --add safe.directory "$CLONE_DIR" if [ "$CREATE_TARGET_BRANCH_IF_NEEDED" = "true" ] then echo "[+] Switch to the TARGET_BRANCH" + echo "[+] git branch" + git branch + echo "[+] git branch -r" + git branch -r git switch -c "$TARGET_BRANCH" fi