mirror of
https://code.forgejo.org/actions/checkout.git
synced 2025-04-20 08:50:16 +03:00
Merge aea6c75c98
into 85e6279cec
This commit is contained in:
commit
46a8a9c4ea
1 changed files with 1 additions and 1 deletions
|
@ -204,7 +204,7 @@ class GitCommandManager {
|
|||
}
|
||||
|
||||
async checkout(ref: string, startPoint: string): Promise<void> {
|
||||
const args = ['checkout', '--progress', '--force']
|
||||
const args = ['-c advice.detachedHead=false', 'checkout', '--progress', '--force']
|
||||
if (startPoint) {
|
||||
args.push('-B', ref, startPoint)
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue