diff --git a/scripts/merge-to-branch.sh b/scripts/merge-to-branch.sh new file mode 100644 index 000000000..ac269f8a8 --- /dev/null +++ b/scripts/merge-to-branch.sh @@ -0,0 +1,13 @@ + +branch="$1" +default_branch="central" + +if [ -z "$branch" ]; then + branch="$default_branch" +fi + +git checkout "$branch" +git merge "$default_branch" +git push origin "$branch" + +git checkout "$default_branch" \ No newline at end of file