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 {