1
0
mirror of https://github.com/stefanzweifel/git-auto-commit-action.git synced 2026-02-02 15:37:18 +08:00
This commit is contained in:
Stefan Zweifel
2019-09-20 10:11:50 +02:00
parent ba1c2a6047
commit 0b91625aed

View File

@@ -27,10 +27,8 @@ then
: ${PUSH_BRANCH:=`echo "$GITHUB_HEAD_REF" | awk -F / '{ print $3 }' `}
git switch -c $PUSH_BRANCH
# Switch to branch from current Workflow run
git checkout $PUSH_BRANCH
git checkout -b $PUSH_BRANCH
git add .