mirror of
https://code.forgejo.org/actions/checkout.git
synced 2026-01-17 01:46:28 +00:00
Merge dad69cab55 into 0c366fd6a8
This commit is contained in:
commit
67702be836
2 changed files with 10 additions and 2 deletions
|
|
@ -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> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue