This commit is contained in:
Josh Soref
2025-01-17 13:19:45 -05:00
committed by GitHub
2 changed files with 10 additions and 2 deletions

6
dist/index.js vendored
View File

@@ -711,7 +711,11 @@ class GitCommandManager {
}
init() {
return __awaiter(this, void 0, void 0, function* () {
yield this.execGit(['init', this.workingDirectory]);
yield this.execGit([
'init',
'--initial-branch=silence_warning_about_default_branch',
this.workingDirectory
]);
});
}
isDetached() {