3
0
Fork 0
mirror of https://code.forgejo.org/actions/checkout.git synced 2026-01-17 01:46:28 +00:00
This commit is contained in:
Josh Soref 2026-01-09 15:34:54 -05:00 committed by GitHub
commit 67702be836
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 10 additions and 2 deletions

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> {