Skip to content

Commit e9f3a19

Browse files
committed
Set default branch to main for all init repos
1 parent d48bbbc commit e9f3a19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/utils/git_cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55

66
def init(verbose: bool) -> None:
7-
run(["git", "init"], verbose)
7+
run(["git", "init", "--initial-branch=main"], verbose)
88

99

1010
def add_all(verbose: bool) -> None:

0 commit comments

Comments
 (0)