mirror of
https://github.com/actions/checkout.git
synced 2025-06-24 08:06:11 +02:00
Merge 401851faf5
into 09d2acae67
This commit is contained in:
commit
5daea4fac8
2 changed files with 10 additions and 2 deletions
|
@ -328,7 +328,11 @@ class GitCommandManager {
|
|||
}
|
||||
|
||||
async init(): Promise<void> {
|
||||
await this.execGit(['init', this.workingDirectory])
|
||||
await this.execGit([
|
||||
'init',
|
||||
'--initial-branch=silence_warning_about_default_branch',
|
||||
this.workingDirectory
|
||||
])
|
||||
}
|
||||
|
||||
async isDetached(): Promise<boolean> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue