Merge aea6c75c98979b000b7132f629d501bbca205039 into 3b9b8c884f6b4bb4d5be2779c26374abadae0871

This commit is contained in:
Jeff Widman 2024-11-08 20:34:29 -06:00 committed by GitHub
commit ed0b5a76c4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -204,7 +204,7 @@ class GitCommandManager {
} }
async checkout(ref: string, startPoint: string): Promise<void> { async checkout(ref: string, startPoint: string): Promise<void> {
const args = ['checkout', '--progress', '--force'] const args = ['-c advice.detachedHead=false', 'checkout', '--progress', '--force']
if (startPoint) { if (startPoint) {
args.push('-B', ref, startPoint) args.push('-B', ref, startPoint)
} else { } else {