mirror of http://gitea.com/actions/checkout
Merge aea6c75c98
into 44c2b7a8a4
This commit is contained in:
commit
f8b30d43ba
|
@ -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 New Issue