1
0
Fork 0
mirror of https://code.forgejo.org/actions/checkout.git synced 2025-08-14 17:30:50 +00:00
This commit is contained in:
Salman Muin Kayser Chishti 2025-08-11 12:47:29 +01:00
parent 6503dcd44c
commit 630cdb3874
4 changed files with 36 additions and 22 deletions

View file

@ -209,7 +209,7 @@ class GitCommandManager {
options: string[] = []
): Promise<void> {
const args = ['checkout', '--progress']
// Add custom options (like --merge) if provided
if (options.length > 0) {
args.push(...options)
@ -217,7 +217,7 @@ class GitCommandManager {
// Default behavior - use force
args.push('--force')
}
if (startPoint) {
args.push('-B', ref, startPoint)
} else {