1
0
Fork 0
mirror of https://github.com/actions/checkout.git synced 2026-05-06 18:07:35 +02:00
This commit is contained in:
Josh Soref 2026-05-05 16:16:57 -04:00 committed by GitHub
commit 971f03f826
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> {