Manually rename branch to "main" after initializing

This commit is contained in:
blinry 2020-10-30 13:02:34 +01:00
parent cff92d6e12
commit c2763846c7

View file

@ -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: