From e4c7e3eb74dccda34f7f5c147f8c4d5429c2228e Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Fri, 5 Mar 2021 11:04:42 -0500 Subject: [PATCH] docs: add note about auto-accepting a git branch as the primary branch on first push [ci skip] --- docs/deployment/methods/git.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/deployment/methods/git.md b/docs/deployment/methods/git.md index fdcfecb97..607ad7d3d 100644 --- a/docs/deployment/methods/git.md +++ b/docs/deployment/methods/git.md @@ -63,6 +63,8 @@ dokku git:set --global deploy-branch SOME_BRANCH_NAME dokku git:set node-js-app deploy-branch SOME_BRANCH_NAME ``` +As of 0.22.1, Dokku will also respect the first pushed branch as the primary branch, and automatically set the `deploy-branch` value at that time. + Pushing multiple branches can also be supported by creating a [receive-branch](/docs/development/plugin-triggers.md#receive-branch) plugin trigger in a custom plugin. ### Configuring the `GIT_REV` environment variable