diff --git a/lib/git.py b/lib/git.py index a5ef56c..635924c 100644 --- a/lib/git.py +++ b/lib/git.py @@ -90,7 +90,7 @@ class Git: else: ref = f"refs/heads/{branch}" if (self.path / ".git" / ref).exists(): - self.git_run(["switch", "-q", branch]) + self.git_run(["switch", "--no-guess", "-q", branch]) return new_branch def commit(