mirror of
https://github.com/cpina/github-action-push-to-another-repository.git
synced 2024-12-22 16:16:09 -07:00
Improve comment
This commit is contained in:
parent
ea29b5b83f
commit
976916018a
|
@ -48,5 +48,5 @@ git status
|
||||||
git diff-index --quiet HEAD || git commit --message "$COMMIT_MESSAGE"
|
git diff-index --quiet HEAD || git commit --message "$COMMIT_MESSAGE"
|
||||||
|
|
||||||
echo "Pushing git commit"
|
echo "Pushing git commit"
|
||||||
# --set-upstream: sets de branch when pushing to a remote empty repository
|
# --set-upstream: sets de branch when pushing to a branch that does not exist
|
||||||
git push origin --set-upstream "$TARGET_BRANCH"
|
git push origin --set-upstream "$TARGET_BRANCH"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user