diff --git a/CHANGELOG.md b/CHANGELOG.md index 41fce7534..27f6ab01e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,8 @@ # Change Log -## Unreleased +## 2024-11-25 - CLI 0.13.10 +- fix: modus new rename branch to main if not [#613](https://github.com/hypermodeinc/modus/pull/613) - fix: use git commit with double quotes for Windows [#612](https://github.com/hypermodeinc/modus/pull/612) ## 2024-11-23 - Runtime 0.14.0 diff --git a/cli/src/commands/new/index.ts b/cli/src/commands/new/index.ts index cc4362423..fa8175264 100644 --- a/cli/src/commands/new/index.ts +++ b/cli/src/commands/new/index.ts @@ -332,7 +332,7 @@ export default class NewCommand extends BaseCommand { } if (createGitRepo) { - await execFile("git", ["init"], execOpts); + await execFile("git", ["init", "-b", "main"], execOpts); await execFile("git", ["add", "."], execOpts); await execFile("git", ["commit", "-m", `"Initial Commit"`], execOpts); }