This commit is contained in:
Jeff Widman
2023-10-05 11:15:46 +02:00
committed by GitHub

View File

@@ -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 {