diff --git a/src/ViewModels/AddWorktree.cs b/src/ViewModels/AddWorktree.cs index dcdfc718c..8f8aea2c4 100644 --- a/src/ViewModels/AddWorktree.cs +++ b/src/ViewModels/AddWorktree.cs @@ -80,9 +80,14 @@ public AddWorktree(Repository repo) foreach (var branch in repo.Branches) { if (branch.IsLocal) - LocalBranches.Add(branch); + { + if (!branch.IsCurrent && !branch.HasWorktree) + LocalBranches.Add(branch); + } else + { RemoteBranches.Add(branch); + } } }