Avoid guessing in switch
This commit is contained in:
parent
0414b33206
commit
574bc9aa10
@ -90,7 +90,7 @@ class Git:
|
|||||||
else:
|
else:
|
||||||
ref = f"refs/heads/{branch}"
|
ref = f"refs/heads/{branch}"
|
||||||
if (self.path / ".git" / ref).exists():
|
if (self.path / ".git" / ref).exists():
|
||||||
self.git_run(["switch", "-q", branch])
|
self.git_run(["switch", "--no-guess", "-q", branch])
|
||||||
return new_branch
|
return new_branch
|
||||||
|
|
||||||
def commit(
|
def commit(
|
||||||
|
Loading…
Reference in New Issue
Block a user