Compare commits

...

2 Commits

Author SHA1 Message Date
Jayen 29632b77c3
Merge 9ec5884c0c into 0c366fd6a8 2026-01-10 01:41:19 +05:30
Jayen 9ec5884c0c
set default branch name on initialization to main 2025-03-29 17:13:06 +06:00
2 changed files with 2 additions and 0 deletions

1
dist/index.js vendored
View File

@ -898,6 +898,7 @@ class GitCommandManager {
} }
init() { init() {
return __awaiter(this, void 0, void 0, function* () { return __awaiter(this, void 0, void 0, function* () {
yield this.config('init.defaultBranch', 'main', true, true);
yield this.execGit(['init', this.workingDirectory]); yield this.execGit(['init', this.workingDirectory]);
}); });
} }

View File

@ -365,6 +365,7 @@ class GitCommandManager {
} }
async init(): Promise<void> { async init(): Promise<void> {
await this.config('init.defaultBranch', 'main', true, true)
await this.execGit(['init', this.workingDirectory]) await this.execGit(['init', this.workingDirectory])
} }