Compare commits

...

2 Commits

Author SHA1 Message Date
Josh Soref
67702be836
Merge dad69cab55 into 0c366fd6a8 2026-01-09 15:34:54 -05:00
Josh Soref
dad69cab55 Set initial-branch (#427)
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
2025-08-03 09:40:39 -04:00
2 changed files with 10 additions and 2 deletions

6
dist/index.js vendored
View File

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

View File

@ -365,7 +365,11 @@ class GitCommandManager {
}
async init(): Promise<void> {
await this.execGit(['init', this.workingDirectory])
await this.execGit([
'init',
'--initial-branch=placeholder',
this.workingDirectory
])
}
async isDetached(): Promise<boolean> {