Merge aea6c75c98979b000b7132f629d501bbca205039 into cbb722410c2e876e24abbe8de2cc27693e501dcb

This commit is contained in:
Jeff Widman 2024-11-22 01:41:39 +01:00 committed by GitHub
commit 6a92ef8894
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> {
const args = ['checkout', '--progress', '--force']
const args = ['-c advice.detachedHead=false', 'checkout', '--progress', '--force']
if (startPoint) {
args.push('-B', ref, startPoint)
} else {