From cb209a6a7a55ea35650cf8bcb15e17c9f60ea26c Mon Sep 17 00:00:00 2001 From: Gorbunov Kirill Andreevich Date: Sun, 21 Apr 2024 15:29:22 +0300 Subject: [PATCH] #8 change checkout. --- internal/source/gitlab/gitlab.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/source/gitlab/gitlab.go b/internal/source/gitlab/gitlab.go index abf8ef7..88fc2be 100644 --- a/internal/source/gitlab/gitlab.go +++ b/internal/source/gitlab/gitlab.go @@ -461,6 +461,7 @@ func checkout(w git.Worktree, ref plumbing.Reference) { if err := w.Checkout(&git.CheckoutOptions{ Branch: ref.Name(), + Create: false, Force: true, Keep: false, }); err != nil {