Skip to content
This repository was archived by the owner on Sep 11, 2025. It is now read-only.

Commit be5cad3

Browse files
authored
fix: modus new rename branch to main if not (#613)
1 parent a60679f commit be5cad3

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# Change Log
22

3-
## Unreleased
3+
## 2024-11-25 - CLI 0.13.10
44

5+
- fix: modus new rename branch to main if not [#613](https://github.com/hypermodeinc/modus/pull/613)
56
- fix: use git commit with double quotes for Windows [#612](https://github.com/hypermodeinc/modus/pull/612)
67

78
## 2024-11-23 - Runtime 0.14.0

cli/src/commands/new/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ export default class NewCommand extends BaseCommand {
332332
}
333333

334334
if (createGitRepo) {
335-
await execFile("git", ["init"], execOpts);
335+
await execFile("git", ["init", "-b", "main"], execOpts);
336336
await execFile("git", ["add", "."], execOpts);
337337
await execFile("git", ["commit", "-m", `"Initial Commit"`], execOpts);
338338
}

0 commit comments

Comments
 (0)