We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 38e7b69 commit bf12426Copy full SHA for bf12426
src/Commands/Worktree.cs
@@ -73,6 +73,8 @@ public bool Add(string fullpath, string name, bool createNew, string tracking, A
73
74
if (!string.IsNullOrEmpty(tracking))
75
Args += tracking;
76
+ else if (!string.IsNullOrEmpty(name) && !createNew)
77
+ Args += name;
78
79
_outputHandler = outputHandler;
80
return Exec();
0 commit comments