From c2763846c7c3e314811b10ac08a907df9df8a191 Mon Sep 17 00:00:00 2001 From: blinry Date: Fri, 30 Oct 2020 13:02:34 +0100 Subject: [PATCH] Manually rename branch to "main" after initializing --- scenes/level.gd | 1 + 1 file changed, 1 insertion(+) diff --git a/scenes/level.gd b/scenes/level.gd index 1c53806..07eb91e 100644 --- a/scenes/level.gd +++ b/scenes/level.gd @@ -83,6 +83,7 @@ func construct(): game.global_shell.run("mkdir '%s'" % repo.path) game.global_shell.cd(repo.path) game.global_shell.run("git init") + game.global_shell.run("git symbolic-ref HEAD refs/heads/main") # Add other repos as remotes. for r2 in repos: