Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
@ -5859,7 +5859,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() {
@ -229,7 +229,11 @@ class GitCommandManager {
async init(): Promise<void> {
await this.execGit(['init', this.workingDirectory])
await this.execGit([
])
async isDetached(): Promise<boolean> {