mirror of
https://fastgit.cc/github.com/sourcegit-scm/sourcegit
synced 2026-04-22 13:51:15 +08:00
fix<Repository>: -r is needed when remove a path from git
This commit is contained in:
@@ -985,7 +985,7 @@ namespace SourceGit.Git {
|
||||
if (errs != null) {
|
||||
App.RaiseError(errs);
|
||||
} else {
|
||||
errs = RunCommand($"rm -f {path}", null);
|
||||
errs = RunCommand($"rm -rf {path}", null);
|
||||
if (errs != null) App.RaiseError(errs);
|
||||
|
||||
OnWorkingCopyChanged?.Invoke();
|
||||
|
||||
Reference in New Issue
Block a user