Skip to content

Commit 955f4a3

Browse files
committed
fix: swap around setup-git so that the develop branch gets made properly
1 parent 4b48551 commit 955f4a3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

{{cookiecutter.project_name}}/scripts/setup-git.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,9 @@ def setup_git(path: Path) -> None:
2323
commands: list[list[str]] = [
2424
["git", "init"],
2525
["git", "branch", "-m", "master", "main"],
26-
["git", "checkout", "main"],
27-
["git", "checkout", "-b", "develop", "main"],
2826
["git", "add", "."],
2927
["git", "commit", "-m", "feat: initial commit"],
28+
["git", "checkout", "-b", "develop", "main"],
3029
]
3130
check_dependencies(path=path, dependencies=["git"])
3231

0 commit comments

Comments
 (0)