Skip to content

Commit fd62fbe

Browse files
committed
fix: error when trying to unstage files in fresh repo (#2177)
Signed-off-by: leo <longshuang@msn.cn>
1 parent d5c2617 commit fd62fbe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Commands/Reset.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ public Reset(string repo, string pathspec)
1313
{
1414
WorkingDirectory = repo;
1515
Context = repo;
16-
Args = $"reset HEAD --pathspec-from-file={pathspec.Quoted()}";
16+
Args = $"reset --pathspec-from-file={pathspec.Quoted()}";
1717
}
1818
}
1919
}

0 commit comments

Comments
 (0)