Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions dist/index.js
Original file line number Diff line number Diff line change
@@ -711,6 +711,7 @@ class GitCommandManager {
}
init() {
return __awaiter(this, void 0, void 0, function* () {
yield this.config('init.defaultBranch', 'main', true, true);
yield this.execGit(['init', this.workingDirectory]);
});
}
1 change: 1 addition & 0 deletions src/git-command-manager.ts
Original file line number Diff line number Diff line change
@@ -328,6 +328,7 @@ class GitCommandManager {
}

async init(): Promise<void> {
await this.config('init.defaultBranch', 'main', true, true)
await this.execGit(['init', this.workingDirectory])
}