From 05411b0590a47485b3d4ce4c8e3c09b431745f6d Mon Sep 17 00:00:00 2001 From: jurgenhaas <juergen.haas@lakedrops.com> Date: Fri, 2 Aug 2024 16:09:35 +0200 Subject: [PATCH] composer/plugin/drupal-development-environment#23 Git init with initial branch develop --- src/Handler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Handler.php b/src/Handler.php index 93a3f80..e004126 100644 --- a/src/Handler.php +++ b/src/Handler.php @@ -118,7 +118,7 @@ class Handler extends BaseHandler { // Initialize local git working copy. try { - $this->git('init'); + $this->git('init --initial-branch=develop'); $this->git('add *'); $this->git('commit -m "Initial commit"'); } -- GitLab