mirror of
https://githubfast.com/actions/checkout.git
synced 2024-10-30 16:50:46 +00:00
Merge aea6c75c98
into b4ffde65f4
This commit is contained in:
commit
6bd3a2664a
@ -193,7 +193,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 New Issue
Block a user