From 9852c86807ebae1cb1161d047667b807b5bc7556 Mon Sep 17 00:00:00 2001 From: Tomas Votruba Date: Tue, 10 Nov 2020 02:36:41 +0100 Subject: [PATCH] allow to push into remote, even if brach does not exist --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index b673545..ee1554d 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -48,4 +48,4 @@ git status git diff-index --quiet HEAD || git commit --message "$COMMIT_MESSAGE" echo "Pushing git commit" -git push origin "$TARGET_BRANCH" +git push origin -u "$TARGET_BRANCH"