mirror of
https://github.com/cpina/github-action-push-to-another-repository.git
synced 2024-12-21 23:56:09 -07:00
Add target-branch output
This commit is contained in:
parent
d63a102c8f
commit
3fc9348237
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user