mirror of
https://github.com/actions/checkout.git
synced 2026-06-14 16:53:47 +08:00
Merge 9ec5884c0c into 0c366fd6a8
This commit is contained in:
@@ -365,6 +365,7 @@ class GitCommandManager {
|
||||
}
|
||||
|
||||
async init(): Promise<void> {
|
||||
await this.config('init.defaultBranch', 'main', true, true)
|
||||
await this.execGit(['init', this.workingDirectory])
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user